diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-02 18:33:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-02 18:33:22 +0000 |
commit | 688c4a914a6cb152b5f5e4088bace709ed3dcc35 (patch) | |
tree | 39c3221e99ca90b7238057bc555c5b4d63fcf960 /modules/img2img.py | |
parent | a634c3226fd69486ce96df56f95f3fd63172305c (diff) | |
parent | 852fd90c0dcda9cb5fbbfdf0c7308ce58034935c (diff) | |
download | stable-diffusion-webui-gfx803-688c4a914a6cb152b5f5e4088bace709ed3dcc35.tar.gz stable-diffusion-webui-gfx803-688c4a914a6cb152b5f5e4088bace709ed3dcc35.tar.bz2 stable-diffusion-webui-gfx803-688c4a914a6cb152b5f5e4088bace709ed3dcc35.zip |
Merge branch 'master' into 1404-script-reload-without-restart
Diffstat (limited to 'modules/img2img.py')
-rw-r--r-- | modules/img2img.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/img2img.py b/modules/img2img.py index 03e934e9..f4455c90 100644 --- a/modules/img2img.py +++ b/modules/img2img.py @@ -103,7 +103,9 @@ def img2img(mode: int, prompt: str, negative_prompt: str, prompt_style: str, pro inpaint_full_res_padding=inpaint_full_res_padding,
inpainting_mask_invert=inpainting_mask_invert,
)
- print(f"\nimg2img: {prompt}", file=shared.progress_print_out)
+
+ if shared.cmd_opts.enable_console_prompts:
+ print(f"\nimg2img: {prompt}", file=shared.progress_print_out)
p.extra_generation_params["Mask blur"] = mask_blur
|