Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1175,5 +1175,5 @@ async def index():
|
|
1175 |
|
1176 |
# Run the FastAPI server using uvicorn
|
1177 |
if __name__ == "__main__":
|
1178 |
-
port = int(os.getenv("PORT", 5000)) # Default to 7860 if PORT is not set
|
1179 |
-
uvicorn.run(app, host="0.0.0.0", port=
|
|
|
1175 |
|
1176 |
# Run the FastAPI server using uvicorn
|
1177 |
if __name__ == "__main__":
|
1178 |
+
# port = int(os.getenv("PORT", 5000)) # Default to 7860 if PORT is not set
|
1179 |
+
uvicorn.run(app, host="0.0.0.0", port=5000)
|