File size: 432 Bytes
7f6faa9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""
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,
    )