Skip to content

Commit

Permalink
automatically open in browser when launching as a standalone script
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragzouken committed Oct 16, 2024
1 parent 40521d9 commit 18a17b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/basics/UI.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,4 +242,4 @@ def toggle_visibility(choice):
# Launch the Gradio interface
if __name__ == "__main__":
ui = create_ui()
ui.launch()
ui.launch(inbrowser=True)

0 comments on commit 18a17b6

Please sign in to comment.