diff options
author | ThatLukinhasGuy <139662282+thatlukinhasguy1@users.noreply.github.com> | 2023-11-04 22:26:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-04 22:26:16 +0100 |
commit | 65c3a88e0adb6836113130e52e70e4b824a86949 (patch) | |
tree | b40633242b046bb3fc4a57a6db7b34ec01f94710 /g4f/api/__init__.py | |
parent | Update cli.py (diff) | |
download | gpt4free-65c3a88e0adb6836113130e52e70e4b824a86949.tar gpt4free-65c3a88e0adb6836113130e52e70e4b824a86949.tar.gz gpt4free-65c3a88e0adb6836113130e52e70e4b824a86949.tar.bz2 gpt4free-65c3a88e0adb6836113130e52e70e4b824a86949.tar.lz gpt4free-65c3a88e0adb6836113130e52e70e4b824a86949.tar.xz gpt4free-65c3a88e0adb6836113130e52e70e4b824a86949.tar.zst gpt4free-65c3a88e0adb6836113130e52e70e4b824a86949.zip |
Diffstat (limited to 'g4f/api/__init__.py')
-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 5fb93971..bbb0d1d5 100644 --- a/g4f/api/__init__.py +++ b/g4f/api/__init__.py @@ -157,6 +157,6 @@ class Api: async def completions(): return Response(content=json.dumps({'info': 'Not working yet.'}, indent=4), media_type="application/json") - def run(self, ip, thread_quantity): + def run(self, ip): split_ip = ip.split(":") uvicorn.run(host=split_ip[0], port=int(split_ip[1]), use_colors=False) |