From ef14ba17131674319c56bc565bf5069ef9e78647 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 18 Oct 2023 13:40:26 +1100 Subject: [PATCH] fix(api): fix uvicorn config loop arg We were providing the loop itself, not the kind of loop. This didn't appear to cause any issues whatsoever, but now it's correct. --- invokeai/app/api_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/app/api_app.py b/invokeai/app/api_app.py index f45541e63b..cc55329389 100644 --- a/invokeai/app/api_app.py +++ b/invokeai/app/api_app.py @@ -245,7 +245,7 @@ def invoke_api(): app=app, host=app_config.host, port=port, - loop=loop, + loop="asyncio", log_level=app_config.log_level, ) server = uvicorn.Server(config)