hivecorp commited on
Commit
68958ab
·
verified ·
1 Parent(s): ab4fa76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -179,4 +179,5 @@ async def list_voices():
179
  return {"voices": voice_options}
180
 
181
  if __name__ == "__main__":
182
- uvicorn.run( app, host="0.0.0.0", port=8000, reload=True)
 
 
179
  return {"voices": voice_options}
180
 
181
  if __name__ == "__main__":
182
+ # Change to use import string format
183
+ uvicorn.run("app:app", host="0.0.0.0", port=8000, reload=True)