diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-01-29 23:40:26 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-01-29 23:40:26 +0000 |
commit | c81b52ffbd6252842b3473a7aa8eb7ffc88ee7d1 (patch) | |
tree | 2e8832a441697a3c27e7e18c6b2f34af566522e5 /modules/ui.py | |
parent | 847ceae1f71ee13e0a397da048d1bb418e8f36c1 (diff) | |
download | stable-diffusion-webui-gfx803-c81b52ffbd6252842b3473a7aa8eb7ffc88ee7d1.tar.gz stable-diffusion-webui-gfx803-c81b52ffbd6252842b3473a7aa8eb7ffc88ee7d1.tar.bz2 stable-diffusion-webui-gfx803-c81b52ffbd6252842b3473a7aa8eb7ffc88ee7d1.zip |
add override settings component to img2img
Diffstat (limited to 'modules/ui.py')
-rw-r--r-- | modules/ui.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/ui.py b/modules/ui.py index a7fcdd83..f910c582 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -872,7 +872,8 @@ def create_ui(): inpainting_mask_invert,
img2img_batch_input_dir,
img2img_batch_output_dir,
- img2img_batch_inpaint_mask_dir
+ img2img_batch_inpaint_mask_dir,
+ override_settings,
] + custom_inputs,
outputs=[
img2img_gallery,
@@ -961,7 +962,7 @@ def create_ui(): parameters_copypaste.add_paste_fields("img2img", init_img, img2img_paste_fields)
parameters_copypaste.add_paste_fields("inpaint", init_img_with_mask, img2img_paste_fields)
parameters_copypaste.register_paste_params_button(parameters_copypaste.ParamBinding(
- paste_button=img2img_paste, tabname="img2img", source_text_component=img2img_prompt, source_image_component=None,
+ paste_button=img2img_paste, tabname="img2img", source_text_component=img2img_prompt, source_image_component=None, override_settings_component=override_settings,
))
modules.scripts.scripts_current = None
|