Spaces:
Running
Running
| """ | |
| HuggingFace Spaces entry point for hf-eda-mcp server. | |
| This file is used when deploying to HuggingFace Spaces. | |
| It imports and launches the main Gradio application. | |
| """ | |
| from hf_eda_mcp.server import launch_server | |
| from hf_eda_mcp.config import ServerConfig | |
| # Create and launch the Gradio app | |
| if __name__ == "__main__": | |
| launch_server( | |
| config=ServerConfig.from_env(), | |
| mcp_server=True, | |
| port=7860, | |
| ) | |