waleedmohd commited on
Commit
8bd3a9c
·
verified ·
1 Parent(s): 8abd7cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -60,6 +60,7 @@ demo = gr.ChatInterface(
60
  if __name__ == "__main__":
61
  # Correct launch parameters
62
  demo.launch(
63
- share=False, # Set to True for temporary public link
64
- auth=("user", "pass") # Optional basic auth
65
- )
 
 
60
  if __name__ == "__main__":
61
  # Correct launch parameters
62
  demo.launch(
63
+ share=True, # Enable shareable link
64
+ server_name="0.0.0.0", # Allow external access
65
+ server_port=7860 # Default Gradio port
66
+ )