Fix uvicorn workers - use import string
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3988,4 +3988,4 @@ async def ui_run_partial(run_id: str, request: Request):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import uvicorn
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user