Fix uvicorn workers - use import string

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
gilesb
2026-01-09 03:41:30 +00:00
parent c40c681d2e
commit 92c64f1037

View File

@@ -3988,4 +3988,4 @@ async def ui_run_partial(run_id: str, request: Request):
if __name__ == "__main__":
import uvicorn
uvicorn.run(app, host="0.0.0.0", port=8100, workers=4)
uvicorn.run("server:app", host="0.0.0.0", port=8100, workers=4)