aboutsummaryrefslogtreecommitdiff
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-08 06:44:49 +0300
committerGitHub <noreply@github.com>2023-08-08 06:44:49 +0300
commit902f8cf292582301856ff018a3af34ea546a5393 (patch)
tree701056aec9ae11bc45df9b39b176a54fa4d34e19 /modules/shared.py
parent01997f45ba089af24b03a5f614147bb0f9d8d824 (diff)
parentf17c8c2eff63210f5e96e1e2b049b46ba9cfa389 (diff)
Merge pull request #12254 from AUTOMATIC1111/auro-autolaunch
Automatically open webui in browser when running "locally"
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py
index 4d854928..97f1eab5 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -422,6 +422,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"]}),
"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"),