Commit 696cb33e authored by w-e-w's avatar w-e-w Committed by AUTOMATIC1111
Browse files

after initial launch, disable --autolaunch for subsequent restarts

parent 1ef32c8b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -135,6 +135,8 @@ def webui():
            inbrowser=cmd_opts.autolaunch,
            prevent_thread_lock=True
        )
        # after initial launch, disable --autolaunch for subsequent restarts
        cmd_opts.autolaunch = False

        app.add_middleware(GZipMiddleware, minimum_size=1000)