diff options
Diffstat (limited to 'modules/ui.py')
-rw-r--r-- | modules/ui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ui.py b/modules/ui.py index 8fc17ce7..a7b3cccb 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -582,7 +582,7 @@ def create_ui(): res_switch_btn.click(lambda w, h: (h, w), inputs=[width, height], outputs=[width, height], show_progress=False)
restore_progress_button.click(
- fn=lambda: restore_progress_call(),
+ fn=restore_progress_call,
_js="() => restoreProgress('txt2img')",
inputs=[],
outputs=[
@@ -914,7 +914,7 @@ def create_ui(): res_switch_btn.click(lambda w, h: (h, w), inputs=[width, height], outputs=[width, height], show_progress=False)
restore_progress_button.click(
- fn=lambda: restore_progress_call(),
+ fn=restore_progress_call,
_js="() => restoreProgress('img2img')",
inputs=[],
outputs=[
|