aboutsummaryrefslogtreecommitdiff
path: root/modules/img2img.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2024-01-02 07:05:05 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2024-01-02 07:05:05 +0300
commit80873b1538e6ca0c7ebe558f8ce4213b06fd8307 (patch)
tree65f3cc461f9b57fbf9bfffa3229387b34b697d8b /modules/img2img.py
parent1341b2208185cd89b0019bda2df63b406ec0cb5e (diff)
fix #14497
Diffstat (limited to 'modules/img2img.py')
-rw-r--r--modules/img2img.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/modules/img2img.py b/modules/img2img.py
index 9e09c0a0..f81405df 100644
--- a/modules/img2img.py
+++ b/modules/img2img.py
@@ -222,21 +222,6 @@ def img2img(id_task: str, mode: int, prompt: str, negative_prompt: str, prompt_s
if shared.opts.enable_console_prompts:
print(f"\nimg2img: {prompt}", file=shared.progress_print_out)
- if mask:
- p.extra_generation_params["Mask blur"] = mask_blur
-
- if inpainting_mask_invert is not None:
- p.extra_generation_params["Mask mode"] = inpainting_mask_invert
-
- if inpainting_fill is not None:
- p.extra_generation_params["Masked content"] = inpainting_fill
-
- if inpaint_full_res is not None:
- p.extra_generation_params["Inpaint area"] = inpaint_full_res
-
- if inpaint_full_res_padding is not None:
- p.extra_generation_params["Only masked padding, pixels"] = inpaint_full_res_padding
-
with closing(p):
if is_batch:
assert not shared.cmd_opts.hide_ui_dir_config, "Launched with --hide-ui-dir-config, batch img2img disabled"