aboutsummaryrefslogtreecommitdiffstats
path: root/webui.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-27 18:29:48 +0000
committerGitHub <noreply@github.com>2023-08-27 18:29:48 +0000
commitad266d795e08f8316e2a60566513f7115b7407d5 (patch)
tree5b03ad1f9a76d0f9317067e319652db44e358793 /webui.py
parent896fde789ee69bd5dd2a829def0878793aa28079 (diff)
parente422f19ee9f78066ec023d6b3b0a307a677c6ad9 (diff)
downloadstable-diffusion-webui-gfx803-ad266d795e08f8316e2a60566513f7115b7407d5.tar.gz
stable-diffusion-webui-gfx803-ad266d795e08f8316e2a60566513f7115b7407d5.tar.bz2
stable-diffusion-webui-gfx803-ad266d795e08f8316e2a60566513f7115b7407d5.zip
Merge pull request #12814 from AUTOMATIC1111/non-local-condition
non-local condition
Diffstat (limited to 'webui.py')
-rw-r--r--webui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui.py b/webui.py
index 5c827dae..12328423 100644
--- a/webui.py
+++ b/webui.py
@@ -74,7 +74,7 @@ def webui():
if shared.opts.auto_launch_browser == "Remote" or cmd_opts.autolaunch:
auto_launch_browser = True
elif shared.opts.auto_launch_browser == "Local":
- auto_launch_browser = not any([cmd_opts.listen, cmd_opts.share, cmd_opts.ngrok])
+ auto_launch_browser = not any([cmd_opts.listen, cmd_opts.share, cmd_opts.ngrok, cmd_opts.server_name])
app, local_url, share_url = shared.demo.launch(
share=cmd_opts.share,