diff options
author | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-09-09 06:53:10 +0000 |
---|---|---|
committer | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-09-09 06:53:10 +0000 |
commit | 46ef1857098df7610c36e73903731e486feca927 (patch) | |
tree | 9ec63e0028e191a8fcce2793f2a2070ac951fb1a /modules/txt2img.py | |
parent | 340fce2113b6d68f06f5bb8c897be998f03b4c8c (diff) | |
download | stable-diffusion-webui-gfx803-46ef1857098df7610c36e73903731e486feca927.tar.gz stable-diffusion-webui-gfx803-46ef1857098df7610c36e73903731e486feca927.tar.bz2 stable-diffusion-webui-gfx803-46ef1857098df7610c36e73903731e486feca927.zip |
deprecate --enable-console-prompts
use --enable-console-prompts as the default value for shared.opts.enable_console_prompts
Diffstat (limited to 'modules/txt2img.py')
-rw-r--r-- | modules/txt2img.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/txt2img.py b/modules/txt2img.py index 379ef859..721206dd 100644 --- a/modules/txt2img.py +++ b/modules/txt2img.py @@ -45,7 +45,7 @@ def txt2img(id_task: str, prompt: str, negative_prompt: str, prompt_styles, step p.user = request.username
- if shared.opts.enable_console_prompts or cmd_opts.enable_console_prompts:
+ if shared.opts.enable_console_prompts:
print(f"\ntxt2img: {prompt}", file=shared.progress_print_out)
with closing(p):
|