deprecate --enable-console-prompts

use --enable-console-prompts as the default value for shared.opts.enable_console_prompts
This commit is contained in:
w-e-w
2023-09-09 15:53:10 +09:00
parent 340fce2113
commit 46ef185709
4 changed files with 4 additions and 4 deletions

View File

@@ -199,7 +199,7 @@ def img2img(id_task: str, mode: int, prompt: str, negative_prompt: str, prompt_s
p.user = request.username
if shared.opts.enable_console_prompts or shared.cmd_opts.enable_console_prompts:
if shared.opts.enable_console_prompts:
print(f"\nimg2img: {prompt}", file=shared.progress_print_out)
if mask: