mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-08 13:19:54 +00:00
deprecate --enable-console-prompts
use --enable-console-prompts as the default value for shared.opts.enable_console_prompts
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user