yuxh1996 commited on
Commit
985dde8
·
1 Parent(s): 565a26a

Fix Gradio launch parameters

Browse files

- Remove unsupported mcp_server parameter
- Fix TypeError in Blocks.launch()
- Maintain basic Gradio functionality
- Ready for Space deployment

Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -439,9 +439,8 @@ if __name__ == "__main__":
439
  # Create and launch the app
440
  demo = create_gradio_app()
441
 
442
- # Launch with MCP server enabled
443
  demo.launch(
444
- mcp_server=True,
445
  server_name=GRADIO_CONFIG["server_name"],
446
  server_port=GRADIO_CONFIG["server_port"],
447
  share=GRADIO_CONFIG["share"]
 
439
  # Create and launch the app
440
  demo = create_gradio_app()
441
 
442
+ # Launch the Gradio app
443
  demo.launch(
 
444
  server_name=GRADIO_CONFIG["server_name"],
445
  server_port=GRADIO_CONFIG["server_port"],
446
  share=GRADIO_CONFIG["share"]