aboutsummaryrefslogtreecommitdiffstats
path: root/modules/txt2img.py
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-09-07 01:01:16 +0000
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-09-07 01:01:16 +0000
commit340fce2113b6d68f06f5bb8c897be998f03b4c8c (patch)
tree65d1117bd59ea2397764907298b381bc7aaac7b2 /modules/txt2img.py
parentd39440bfb9d3b20338fc23a78e6655b1e2f7c1d5 (diff)
downloadstable-diffusion-webui-gfx803-340fce2113b6d68f06f5bb8c897be998f03b4c8c.tar.gz
stable-diffusion-webui-gfx803-340fce2113b6d68f06f5bb8c897be998f03b4c8c.tar.bz2
stable-diffusion-webui-gfx803-340fce2113b6d68f06f5bb8c897be998f03b4c8c.zip
enable console prompts in settings
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 1ee592ad..379ef859 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 cmd_opts.enable_console_prompts:
+ if shared.opts.enable_console_prompts or cmd_opts.enable_console_prompts:
print(f"\ntxt2img: {prompt}", file=shared.progress_print_out)
with closing(p):