File size: 695 Bytes
0a743f9 |
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 26 27 28 29 |
"""
FleetMind MCP - Hugging Face Spaces Entry Point
This is the main entry point for the HF Space deployment
"""
import sys
from pathlib import Path
# Add current directory to path
sys.path.insert(0, str(Path(__file__).parent))
# Import and launch the Gradio app
from ui.app import create_interface
if __name__ == "__main__":
print("=" * 60)
print("FleetMind MCP - Starting on Hugging Face Spaces")
print("=" * 60)
# Create and launch the interface
app = create_interface()
app.launch(
server_name="0.0.0.0",
server_port=7860,
share=False,
show_error=True,
show_api=False # Disable API docs to avoid schema parsing bug
)
|