diff options
author | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-06-05 17:47:18 +0000 |
---|---|---|
committer | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-06-05 17:47:18 +0000 |
commit | eaace155cebeb4e713fc6f232261eeed6b958736 (patch) | |
tree | 5eec203e8e68eca6b4282156bd587595c0908f90 /webui.py | |
parent | 1411a6e74b2fa07ecfc2117d774520f957651145 (diff) | |
download | stable-diffusion-webui-gfx803-eaace155cebeb4e713fc6f232261eeed6b958736.tar.gz stable-diffusion-webui-gfx803-eaace155cebeb4e713fc6f232261eeed6b958736.tar.bz2 stable-diffusion-webui-gfx803-eaace155cebeb4e713fc6f232261eeed6b958736.zip |
restore old disable --autolaunch
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -407,6 +407,9 @@ def webui(): if cmd_opts.add_stop_route:
app.add_route("/_stop", stop_route, methods=["POST"])
+ # after initial launch, disable --autolaunch for subsequent restarts
+ cmd_opts.autolaunch = False
+
startup_timer.record("gradio launch")
# gradio uses a very open CORS policy via app.user_middleware, which makes it possible for
|