Skip to content

Commit

Permalink
add in_browswer (#1220)
Browse files Browse the repository at this point in the history
  • Loading branch information
tastelikefeet authored Jun 25, 2024
1 parent 159dfac commit d6f21c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions swift/ui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'))))

0 comments on commit d6f21c8

Please sign in to comment.