From d6f21c8386eade9574964411b518eeedd5b05e83 Mon Sep 17 00:00:00 2001 From: tastelikefeet <58414341+tastelikefeet@users.noreply.github.com> Date: Tue, 25 Jun 2024 14:18:52 +0800 Subject: [PATCH] add in_browswer (#1220) --- swift/ui/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/swift/ui/app.py b/swift/ui/app.py index 25532f944..7281a5545 100644 --- a/swift/ui/app.py +++ b/swift/ui/app.py @@ -71,6 +71,7 @@ def run_ui(): concurrent = {'concurrency_count': 5} app.queue(**concurrent).launch( server_name=os.environ.get('WEBUI_SERVER', None), + inbrowser=True, server_port=port if port is None else int(port), height=800, share=bool(int(os.environ.get('WEBUI_SHARE', '0'))))