|
|
|
|
@ -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),
|
|
|
|
|
|