diff options
author | siutin <osiutino@gmail.com> | 2023-04-16 17:06:28 +0000 |
---|---|---|
committer | siutin <osiutino@gmail.com> | 2023-04-16 17:06:28 +0000 |
commit | 984970068c2bdc14cff266129ca25a26fbccbf2e (patch) | |
tree | 0a66959daf3b20f8452165b6a0b576374f55e4c9 /modules/ui.py | |
parent | 70ab21e67d128b953fbf4a360e02ac783f40dd55 (diff) | |
download | stable-diffusion-webui-gfx803-984970068c2bdc14cff266129ca25a26fbccbf2e.tar.gz stable-diffusion-webui-gfx803-984970068c2bdc14cff266129ca25a26fbccbf2e.tar.bz2 stable-diffusion-webui-gfx803-984970068c2bdc14cff266129ca25a26fbccbf2e.zip |
multi users support
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=[
|