From 8cedb40787d16ccf061fe7fe0169e277cc7b0a2b Mon Sep 17 00:00:00 2001 From: "vahid K. nejad" Date: Wed, 3 May 2023 21:07:42 +0400 Subject: [PATCH] interrup btn fix --- iz_helpers/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iz_helpers/ui.py b/iz_helpers/ui.py index 7f28b48..2607286 100644 --- a/iz_helpers/ui.py +++ b/iz_helpers/ui.py @@ -295,7 +295,7 @@ Our best experience and trade-off is the R-ERSGAn4x upscaler. fn=checkPrompts, inputs=[main_prompts], outputs=[generate_btn] ) - interrupt.click(fn=shared.state.interrupt(), inputs=[], outputs=[]) + interrupt.click(fn=lambda: shared.state.interrupt(), inputs=[], outputs=[]) infinite_zoom_interface.queue() return [(infinite_zoom_interface, "Infinite Zoom", "iz_interface")]