Merge branch 'AUTOMATIC1111:master' into Inspiron

This commit is contained in:
不会画画的中医不是好程序员
2022-10-24 14:09:27 +08:00
committed by GitHub
9 changed files with 1097 additions and 316 deletions

View File

@@ -139,6 +139,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)