diff options
author | ThatLukinhasGuy <139662282+thatlukinhasguy1@users.noreply.github.com> | 2023-11-04 22:24:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-04 22:24:38 +0100 |
commit | 7ef8135ed4ac6b62d6cd4ad6e723125f0513bc99 (patch) | |
tree | 1d9a18ba6001253c6cb49eb11d088e975bda0fe5 /g4f | |
parent | Update __init__.py (diff) | |
download | gpt4free-7ef8135ed4ac6b62d6cd4ad6e723125f0513bc99.tar gpt4free-7ef8135ed4ac6b62d6cd4ad6e723125f0513bc99.tar.gz gpt4free-7ef8135ed4ac6b62d6cd4ad6e723125f0513bc99.tar.bz2 gpt4free-7ef8135ed4ac6b62d6cd4ad6e723125f0513bc99.tar.lz gpt4free-7ef8135ed4ac6b62d6cd4ad6e723125f0513bc99.tar.xz gpt4free-7ef8135ed4ac6b62d6cd4ad6e723125f0513bc99.tar.zst gpt4free-7ef8135ed4ac6b62d6cd4ad6e723125f0513bc99.zip |
Diffstat (limited to 'g4f')
-rw-r--r-- | g4f/api/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/api/__init__.py b/g4f/api/__init__.py index 541be47d..5fb93971 100644 --- a/g4f/api/__init__.py +++ b/g4f/api/__init__.py @@ -159,4 +159,4 @@ class Api: def run(self, ip, thread_quantity): split_ip = ip.split(":") - uvicorn.run(app=self.app, host=split_ip[0], port=int(split_ip[1]), use_colors=False, workers=thread_quantity) + uvicorn.run(host=split_ip[0], port=int(split_ip[1]), use_colors=False) |