summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
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 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)