Skip to content

Conversation

@harshanasrimal
Copy link

Description

This PR updates the Gradio app launch process to use a centralized configuration file (config.yaml) for runtime parameters and adds basic authentication support to protect the interface.

Changes Included

  • Integrated config.yaml to store and manage Gradio launch parameters:
    • public_share → Controls whether a public shareable link is created
    • server_name → Hostname or IP address the app will bind to
    • server_port → Port number for the Gradio server
    • auth → Username/password tuple for interface authentication
  • Updated demo.launch() call to dynamically use configuration values.

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