diff options
author | ThatLukinhasGuy <139662282+thatlukinhasguy1@users.noreply.github.com> | 2023-11-02 02:29:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-02 02:29:32 +0100 |
commit | 6e75e2303336e10414384970c08e1c1c397dd4a6 (patch) | |
tree | b8a62c9eba35e03849e7d51025f7b2d9a2ce6ea2 /g4f/api | |
parent | Update __init__.py (diff) | |
download | gpt4free-6e75e2303336e10414384970c08e1c1c397dd4a6.tar gpt4free-6e75e2303336e10414384970c08e1c1c397dd4a6.tar.gz gpt4free-6e75e2303336e10414384970c08e1c1c397dd4a6.tar.bz2 gpt4free-6e75e2303336e10414384970c08e1c1c397dd4a6.tar.lz gpt4free-6e75e2303336e10414384970c08e1c1c397dd4a6.tar.xz gpt4free-6e75e2303336e10414384970c08e1c1c397dd4a6.tar.zst gpt4free-6e75e2303336e10414384970c08e1c1c397dd4a6.zip |
Diffstat (limited to '')
-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) |