diff options
-rw-r--r-- | g4f/api/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/api/__init__.py b/g4f/api/__init__.py index 4408243a..d86364d1 100644 --- a/g4f/api/__init__.py +++ b/g4f/api/__init__.py @@ -164,4 +164,4 @@ async def completions(): def run(ip): split_ip = ip.split(":") - uvicorn.run(app, host=split_ip[0], port=int(split_ip[1]), use_colors=False, loop='asyncio') + uvicorn.run(app, host=split_ip[0], port=int(split_ip[1]), use_colors=False) |