diff options
author | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-09-07 01:01:16 +0000 |
---|---|---|
committer | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-09-07 01:01:16 +0000 |
commit | 340fce2113b6d68f06f5bb8c897be998f03b4c8c (patch) | |
tree | 65d1117bd59ea2397764907298b381bc7aaac7b2 /modules/txt2img.py | |
parent | d39440bfb9d3b20338fc23a78e6655b1e2f7c1d5 (diff) | |
download | stable-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.py | 2 |
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):
|