File size: 419 Bytes
4bcc6b0
 
 
 
 
 
 
 
 
 
7a04402
4bcc6b0
 
7a04402
 
4bcc6b0
 
 
7a04402
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env python3
"""
Launcher script for Hugging Face Spaces
"""
import sys
import os

# Add mcp directory to path
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'mcp'))

# Change to mcp directory
os.chdir(os.path.join(os.path.dirname(__file__), 'mcp'))

# Import and run
from mcp_server import create_gradio_interface

if __name__ == "__main__":
    app = create_gradio_interface()
    app.launch()