enable console prompts in settings

This commit is contained in:
w-e-w
2023-09-07 10:01:16 +09:00
parent d39440bfb9
commit 340fce2113
3 changed files with 3 additions and 2 deletions

View File

@@ -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):