qqwjq1981 commited on
Commit
7e2f004
·
verified ·
1 Parent(s): 1de0783

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1142,6 +1142,6 @@ async def index():
1142
 
1143
  # Run the FastAPI server using uvicorn
1144
  if __name__ == "__main__":
1145
- uvicorn.run(app, host="0.0.0.0", port=5000, reload=True, log_level="debug")
1146
 
1147
  # In[ ]:
 
1142
 
1143
  # Run the FastAPI server using uvicorn
1144
  if __name__ == "__main__":
1145
+ uvicorn.run("app:app", host="0.0.0.0", port=5000, reload=True, log_level="debug")
1146
 
1147
  # In[ ]: