mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-09-12 08:29:30 -04:00
Update __init__.py
This commit is contained in:
parent
81bd9bab33
commit
1726bc723d
@ -159,4 +159,4 @@ class Api:
|
|||||||
|
|
||||||
def run(self, ip, thread_quantity):
|
def run(self, ip, thread_quantity):
|
||||||
split_ip = ip.split(":")
|
split_ip = ip.split(":")
|
||||||
uvicorn.run("__init__:app", host=split_ip[0], port=int(split_ip[1]), use_colors=False, workers=thread_quantity)
|
uvicorn.run(app=self.app, host=split_ip[0], port=int(split_ip[1]), use_colors=False, workers=thread_quantity)
|
||||||
|
Loading…
Reference in New Issue
Block a user