Update run_app.py
Browse files- 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"
|
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"create_app{'_debug' if debug else ''}",
|
203 |
host=host, port=int(port),
|
204 |
workers=workers,
|
205 |
use_colors=use_colors,
|