Add asyncio loop to LangflowApplication initialization

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-04-01 16:07:57 -03:00
commit 0014e877d1

View file

@ -290,6 +290,7 @@ def run_langflow(host, port, log_level, options, app):
host=host,
port=port,
log_level=log_level.lower(),
loop="asyncio",
)
else:
from langflow.server import LangflowApplication