mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-09 18:51:17 -08:00
multi users support
This commit is contained in:
parent
70ab21e67d
commit
984970068c
3 changed files with 59 additions and 28 deletions
|
|
@ -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=[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue