Commit
Β·
be20648
1
Parent(s):
fd12e1a
Add HF Spaces configuration
Browse files- Add app.py entry point for HF Spaces
- Add YAML metadata to README for Space configuration
- Configure Gradio SDK 5.9.0
- Add hackathon tags: mcp-in-action-track-01
README.md
CHANGED
|
@@ -1,6 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# FleetMind MCP - Autonomous Dispatch Coordinator
|
| 2 |
|
| 3 |
-
|
|
|
|
|
|
|
| 4 |
|
| 5 |
## π Quick Start
|
| 6 |
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: FleetMind AI Dispatch Coordinator
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 5.9.0
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
tags:
|
| 11 |
+
- mcp
|
| 12 |
+
- mcp-in-action-track-01
|
| 13 |
+
- model-context-protocol
|
| 14 |
+
- multi-agent
|
| 15 |
+
- autonomous-ai
|
| 16 |
+
- gemini-2.0-flash
|
| 17 |
+
- delivery-management
|
| 18 |
+
- postgresql
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
# FleetMind MCP - Autonomous Dispatch Coordinator
|
| 22 |
|
| 23 |
+
**π MCP 1st Birthday Hackathon Submission - Track: MCP in Action**
|
| 24 |
+
|
| 25 |
+
An autonomous AI coordinator that handles delivery exceptions using multi-agent orchestration powered by Google Gemini 2.0 Flash and the Model Context Protocol (MCP).
|
| 26 |
|
| 27 |
## π Quick Start
|
| 28 |
|
app.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
FleetMind MCP - Hugging Face Spaces Entry Point
|
| 3 |
+
This is the main entry point for the HF Space deployment
|
| 4 |
+
"""
|
| 5 |
+
|
| 6 |
+
import sys
|
| 7 |
+
from pathlib import Path
|
| 8 |
+
|
| 9 |
+
# Add current directory to path
|
| 10 |
+
sys.path.insert(0, str(Path(__file__).parent))
|
| 11 |
+
|
| 12 |
+
# Import and launch the Gradio app
|
| 13 |
+
from ui.app import create_interface
|
| 14 |
+
|
| 15 |
+
if __name__ == "__main__":
|
| 16 |
+
print("=" * 60)
|
| 17 |
+
print("FleetMind MCP - Starting on Hugging Face Spaces")
|
| 18 |
+
print("=" * 60)
|
| 19 |
+
|
| 20 |
+
# Create and launch the interface
|
| 21 |
+
app = create_interface()
|
| 22 |
+
app.launch(
|
| 23 |
+
server_name="0.0.0.0",
|
| 24 |
+
server_port=7860,
|
| 25 |
+
share=False,
|
| 26 |
+
show_error=True
|
| 27 |
+
)
|