Update webui.py
Browse files
webui.py
CHANGED
@@ -457,9 +457,9 @@ with shared.gradio_root:
|
|
457 |
info='Do not preprocess images. (Inputs are already canny/depth/cropped-face/etc.)')
|
458 |
|
459 |
mixing_image_prompt_and_vary_upscale = gr.Checkbox(label='Mixing Image Prompt and Vary/Upscale',
|
460 |
-
value=
|
461 |
mixing_image_prompt_and_inpaint = gr.Checkbox(label='Mixing Image Prompt and Inpaint',
|
462 |
-
value=
|
463 |
|
464 |
controlnet_softness = gr.Slider(label='Softness of ControlNet', minimum=0.0, maximum=1.0,
|
465 |
step=0.001, value=0.25,
|
@@ -674,7 +674,8 @@ with shared.gradio_root:
|
|
674 |
desc_btn.click(trigger_describe, inputs=[desc_method, desc_input_image],
|
675 |
outputs=[prompt, style_selections], show_progress=True, queue=False)
|
676 |
|
677 |
-
|
|
|
678 |
def dump_default_english_config():
|
679 |
from modules.localization import dump_english_config
|
680 |
dump_english_config(grh.all_components)
|
|
|
457 |
info='Do not preprocess images. (Inputs are already canny/depth/cropped-face/etc.)')
|
458 |
|
459 |
mixing_image_prompt_and_vary_upscale = gr.Checkbox(label='Mixing Image Prompt and Vary/Upscale',
|
460 |
+
value=True)
|
461 |
mixing_image_prompt_and_inpaint = gr.Checkbox(label='Mixing Image Prompt and Inpaint',
|
462 |
+
value=True)
|
463 |
|
464 |
controlnet_softness = gr.Slider(label='Softness of ControlNet', minimum=0.0, maximum=1.0,
|
465 |
step=0.001, value=0.25,
|
|
|
674 |
desc_btn.click(trigger_describe, inputs=[desc_method, desc_input_image],
|
675 |
outputs=[prompt, style_selections], show_progress=True, queue=False)
|
676 |
|
677 |
+
generate_button.click()
|
678 |
+
|
679 |
def dump_default_english_config():
|
680 |
from modules.localization import dump_english_config
|
681 |
dump_english_config(grh.all_components)
|