c1r3x commited on
Commit
a813c6c
·
verified ·
1 Parent(s): dd737d9

add the app.launch() function

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -44,5 +44,5 @@ agent_manager = AgentManager()
44
  # Create the Gradio app
45
  app = create_gradio_app(agent_manager)
46
 
47
- # For Hugging Face Spaces, we don't need to call app.launch() as it's handled by the platform
48
- # The app object is automatically detected and launched
 
44
  # Create the Gradio app
45
  app = create_gradio_app(agent_manager)
46
 
47
+ # Launch the app with specific server configuration for Hugging Face Spaces
48
+ app.launch(server_name="0.0.0.0", server_port=7860, share=False)