Spaces:
Build error
Build error
Update Uvicorn server port from 8000 to 7860
Browse files- Modify default server port in app.py
- Adjust host binding to maintain existing configuration
- Ensure compatibility with deployment environment
app.py
CHANGED
|
@@ -111,4 +111,4 @@ async def api_home():
|
|
| 111 |
|
| 112 |
if __name__ == "__main__":
|
| 113 |
import uvicorn
|
| 114 |
-
uvicorn.run(app, host="0.0.0.0", port=
|
|
|
|
| 111 |
|
| 112 |
if __name__ == "__main__":
|
| 113 |
import uvicorn
|
| 114 |
+
uvicorn.run(app, host="0.0.0.0", port=7860)
|