Spaces:
Running
Running
Fix Gradio launch parameters
Browse files- Remove unsupported mcp_server parameter
- Fix TypeError in Blocks.launch()
- Maintain basic Gradio functionality
- Ready for Space deployment
app.py
CHANGED
|
@@ -439,9 +439,8 @@ if __name__ == "__main__":
|
|
| 439 |
# Create and launch the app
|
| 440 |
demo = create_gradio_app()
|
| 441 |
|
| 442 |
-
# Launch
|
| 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"]
|