diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-03-21 03:49:19 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-03-21 03:49:19 +0000 |
commit | 46482decd5ec7c15811e1db5f992b0f616472cfe (patch) | |
tree | 71abb7ac1b22bc87016de586543137a4c06a2239 /modules/ui.py | |
parent | 8ea8e712c43e493a9c96dcec7dfbc036a8630c97 (diff) | |
download | stable-diffusion-webui-gfx803-46482decd5ec7c15811e1db5f992b0f616472cfe.tar.gz stable-diffusion-webui-gfx803-46482decd5ec7c15811e1db5f992b0f616472cfe.tar.bz2 stable-diffusion-webui-gfx803-46482decd5ec7c15811e1db5f992b0f616472cfe.zip |
fix ctrl+up/down attention edit
fix dropdown obscured by live preview
stylistic changes
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 80807ce3..6e0ac89f 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -587,7 +587,7 @@ def create_ui(): txt2img_prompt.submit(**txt2img_args)
submit.click(**txt2img_args)
- res_switch_btn.click(lambda w, h: (h, w), inputs=[width, height], outputs=[width, height])
+ res_switch_btn.click(lambda w, h: (h, w), inputs=[width, height], outputs=[width, height], show_progress=False)
txt_prompt_img.change(
fn=modules.images.image_data,
@@ -907,7 +907,7 @@ def create_ui(): img2img_prompt.submit(**img2img_args)
submit.click(**img2img_args)
- res_switch_btn.click(lambda w, h: (h, w), inputs=[width, height], outputs=[width, height])
+ res_switch_btn.click(lambda w, h: (h, w), inputs=[width, height], outputs=[width, height], show_progress=False)
img2img_interrogate.click(
fn=lambda *args: process_interrogate(interrogate, *args),
|