mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-09-12 00:29:27 -04:00
Update __init__.py
This commit is contained in:
parent
93a6d4499b
commit
65c3a88e0a
@ -157,6 +157,6 @@ class Api:
|
|||||||
async def completions():
|
async def completions():
|
||||||
return Response(content=json.dumps({'info': 'Not working yet.'}, indent=4), media_type="application/json")
|
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(":")
|
split_ip = ip.split(":")
|
||||||
uvicorn.run(host=split_ip[0], port=int(split_ip[1]), use_colors=False)
|
uvicorn.run(host=split_ip[0], port=int(split_ip[1]), use_colors=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user