Spaces:
Running
Running
File size: 626 Bytes
5aaaef8 0c257f9 2bf607d 316c2dc 2bf607d 0c257f9 5aaaef8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
"""
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 (needed for HF Spaces)
# sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src'))
# from src.hf_eda_mcp.server import create_gradio_app
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
)
|