File size: 458 Bytes
a6bfba7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env python3
"""
Stack Overflow MCP Server - Hugging Face Spaces App
A web interface and MCP server that provides Stack Overflow search capabilities.
"""

# Import everything from the main gradio_app
from gradio_app import *

if __name__ == "__main__":
    # Launch the app for Hugging Face Spaces
    demo.launch(
        mcp_server=True,
        server_name="0.0.0.0",
        server_port=7860,
        show_error=True,
        share=False
    )