qqwjq1981 commited on
Commit
6092e3a
·
verified ·
1 Parent(s): 7eddca9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=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)