JC321 commited on
Commit
a37b342
·
verified ·
1 Parent(s): 6d92a88

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -21
app.py DELETED
@@ -1,21 +0,0 @@
1
- import os
2
- import sys
3
-
4
- # Configure for HF Space port 7860
5
- os.environ["UVICORN_PORT"] = "7860"
6
- os.environ["UVICORN_HOST"] = "0.0.0.0"
7
-
8
- if __name__ == "__main__":
9
- import uvicorn
10
-
11
- # Import the FastMCP server
12
- from mcp_server_fastmcp import mcp
13
-
14
- # Run with custom port
15
- # We need to monkeypatch uvicorn settings
16
- uvicorn.run(
17
- "mcp_server_fastmcp:mcp",
18
- host="0.0.0.0",
19
- port=7860,
20
- log_level="info"
21
- )