hf-eda-mcp / app.py
KhalilGuetari's picture
Deployment on hf spaces
5aaaef8
raw
history blame
549 Bytes
"""
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.
"""
import os
import sys
# Add src directory to path for imports
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', 'src'))
from hf_eda_mcp.server import create_gradio_app
# Create and launch the Gradio app
if __name__ == "__main__":
app = create_gradio_app()
app.launch(
server_name="0.0.0.0",
server_port=7860,
share=False
)