jeff86 commited on
Commit
3480a31
1 Parent(s): b857795

Update run_app.py

Browse files
Files changed (1) hide show
  1. run_app.py +1 -1
run_app.py CHANGED
@@ -199,7 +199,7 @@ def run_api(
199
  if bind is not None:
200
  host, port = bind.split(":")
201
  uvicorn.run(
202
- f":create_app{'_debug' if debug else ''}",
203
  host=host, port=int(port),
204
  workers=workers,
205
  use_colors=use_colors,
 
199
  if bind is not None:
200
  host, port = bind.split(":")
201
  uvicorn.run(
202
+ f"main:create_app{'_debug' if debug else ''}",
203
  host=host, port=int(port),
204
  workers=workers,
205
  use_colors=use_colors,