Skip to content

Conversation

@shinshin86
Copy link

This PR makes the Gradio launch configurable via CLI flags to better support Google Colab usage.

demo.launch() is now executed under __main__, and --share/--host/--port are added so a public URL is generated only when --share is specified.

README was updated with a brief Colab usage note.

I’d appreciate a quick review; please let me know if you prefer different defaults or a different CLI interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant