Spaces:
Sleeping
Sleeping
Update server.py
Browse files
server.py
CHANGED
|
@@ -42,7 +42,7 @@ async def index(request: Request):
|
|
| 42 |
app.mount("/echo", echo_mcp.streamable_http_app())
|
| 43 |
app.mount("/math", math_mcp.streamable_http_app())
|
| 44 |
|
| 45 |
-
PORT = int(os.environ.get("PORT", "
|
| 46 |
|
| 47 |
if __name__ == "__main__":
|
| 48 |
import uvicorn
|
|
|
|
| 42 |
app.mount("/echo", echo_mcp.streamable_http_app())
|
| 43 |
app.mount("/math", math_mcp.streamable_http_app())
|
| 44 |
|
| 45 |
+
PORT = int(os.environ.get("PORT", "7860"))
|
| 46 |
|
| 47 |
if __name__ == "__main__":
|
| 48 |
import uvicorn
|