aboutsummaryrefslogtreecommitdiff
path: root/modules/ui.py
diff options
context:
space:
mode:
authorsiutin <osiutino@gmail.com>2023-04-17 01:06:28 +0800
committersiutin <osiutino@gmail.com>2023-04-17 01:06:28 +0800
commit984970068c2bdc14cff266129ca25a26fbccbf2e (patch)
tree0a66959daf3b20f8452165b6a0b576374f55e4c9 /modules/ui.py
parent70ab21e67d128b953fbf4a360e02ac783f40dd55 (diff)
multi users support
Diffstat (limited to 'modules/ui.py')
-rw-r--r--modules/ui.py4
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=[