From 65c3a88e0adb6836113130e52e70e4b824a86949 Mon Sep 17 00:00:00 2001 From: ThatLukinhasGuy <139662282+thatlukinhasguy1@users.noreply.github.com> Date: Sat, 4 Nov 2023 18:26:16 -0300 Subject: Update __init__.py --- g4f/api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f') 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) -- cgit v1.2.3