From 6e75e2303336e10414384970c08e1c1c397dd4a6 Mon Sep 17 00:00:00 2001 From: ThatLukinhasGuy <139662282+thatlukinhasguy1@users.noreply.github.com> Date: Wed, 1 Nov 2023 22:29:32 -0300 Subject: Update __init__.py --- g4f/api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/api') 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) -- cgit v1.2.3