aboutsummaryrefslogtreecommitdiffstats
path: root/modules/txt2img.py
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-09-09 06:53:10 +0000
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-09-09 06:53:10 +0000
commit46ef1857098df7610c36e73903731e486feca927 (patch)
tree9ec63e0028e191a8fcce2793f2a2070ac951fb1a /modules/txt2img.py
parent340fce2113b6d68f06f5bb8c897be998f03b4c8c (diff)
downloadstable-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.py2
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):