summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorThatLukinhasGuy <139662282+thatlukinhasguy1@users.noreply.github.com>2023-11-02 02:29:32 +0100
committerGitHub <noreply@github.com>2023-11-02 02:29:32 +0100
commit6e75e2303336e10414384970c08e1c1c397dd4a6 (patch)
treeb8a62c9eba35e03849e7d51025f7b2d9a2ce6ea2 /g4f
parentUpdate __init__.py (diff)
downloadgpt4free-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__.py2
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)