saq1b commited on
Commit
ba83473
·
verified ·
1 Parent(s): 730c60f

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -3
main.py CHANGED
@@ -176,6 +176,6 @@ async def make_video(request: Request):
176
  print(traceback.format_exc())
177
  raise HTTPException(status_code=500, detail=f"An unexpected error occurred: {str(e)}")
178
 
179
- # if __name__ == "__main__":
180
- # import uvicorn
181
- # uvicorn.run(app, host="0.0.0.0", port=8000)
 
176
  print(traceback.format_exc())
177
  raise HTTPException(status_code=500, detail=f"An unexpected error occurred: {str(e)}")
178
 
179
+ if __name__ == "__main__":
180
+ import uvicorn
181
+ uvicorn.run(app, host="0.0.0.0", port=7860)