XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Update __init__.py

65c3a88e
ThatLukinhasGuy <139662282+thatlukinhasguy1@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/api/__init__.py +1 -1
@@ -157,6 +157,6 @@ class Api:
157 157 async def completions():
158 158 return Response(content=json.dumps({'info': 'Not working yet.'}, indent=4), media_type="application/json")
159 159
160 def run(self, ip, thread_quantity):
160 def run(self, ip):
161 161 split_ip = ip.split(":")
162 162 uvicorn.run(host=split_ip[0], port=int(split_ip[1]), use_colors=False)