aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared_options.py
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-09-09 06:53:10 +0000
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-09-09 06:53:10 +0000
commit46ef1857098df7610c36e73903731e486feca927 (patch)
tree9ec63e0028e191a8fcce2793f2a2070ac951fb1a /modules/shared_options.py
parent340fce2113b6d68f06f5bb8c897be998f03b4c8c (diff)
downloadstable-diffusion-webui-gfx803-46ef1857098df7610c36e73903731e486feca927.tar.gz
stable-diffusion-webui-gfx803-46ef1857098df7610c36e73903731e486feca927.tar.bz2
stable-diffusion-webui-gfx803-46ef1857098df7610c36e73903731e486feca927.zip
deprecate --enable-console-prompts
use --enable-console-prompts as the default value for shared.opts.enable_console_prompts
Diffstat (limited to 'modules/shared_options.py')
-rw-r--r--modules/shared_options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared_options.py b/modules/shared_options.py
index 44fb1670..1ea5c8f8 100644
--- a/modules/shared_options.py
+++ b/modules/shared_options.py
@@ -100,7 +100,7 @@ options_templates.update(options_section(('face-restoration', "Face restoration"
options_templates.update(options_section(('system', "System"), {
"auto_launch_browser": OptionInfo("Local", "Automatically open webui in browser on startup", gr.Radio, lambda: {"choices": ["Disable", "Local", "Remote"]}),
- "enable_console_prompts": OptionInfo(False, "Print prompts to console when generating with txt2img and img2img."),
+ "enable_console_prompts": OptionInfo(shared.cmd_opts.enable_console_prompts, "Print prompts to console when generating with txt2img and img2img."),
"show_warnings": OptionInfo(False, "Show warnings in console.").needs_reload_ui(),
"show_gradio_deprecation_warnings": OptionInfo(True, "Show gradio deprecation warnings in console.").needs_reload_ui(),
"memmon_poll_rate": OptionInfo(8, "VRAM usage polls per second during generation.", gr.Slider, {"minimum": 0, "maximum": 40, "step": 1}).info("0 = disable"),