diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-03-21 06:49:19 +0300 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-03-25 09:00:36 +0300 |
commit | 9b2f20540004c47733ee47fb6bf58a41161ac0da (patch) | |
tree | dfd3cf3c950555c2731c571460c259b15e0057c4 /modules | |
parent | 9f0da9f6edfb9be1d69ba3492a61d96db769307b (diff) |
fix ctrl+up/down attention edit
fix dropdown obscured by live preview
stylistic changes
Diffstat (limited to 'modules')
-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),
|