diff options
author | ThatLukinhasGuy <139662282+thatlukinhasguy1@users.noreply.github.com> | 2023-11-04 22:16:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-04 22:16:23 +0100 |
commit | f51fe6322fcbd2bee24613d63aa8ea28cf6a32af (patch) | |
tree | a7159c5ac34164d39592216f1cd2d421d5741579 /g4f/api/run.py | |
parent | Update __init__.py (diff) | |
download | gpt4free-f51fe6322fcbd2bee24613d63aa8ea28cf6a32af.tar gpt4free-f51fe6322fcbd2bee24613d63aa8ea28cf6a32af.tar.gz gpt4free-f51fe6322fcbd2bee24613d63aa8ea28cf6a32af.tar.bz2 gpt4free-f51fe6322fcbd2bee24613d63aa8ea28cf6a32af.tar.lz gpt4free-f51fe6322fcbd2bee24613d63aa8ea28cf6a32af.tar.xz gpt4free-f51fe6322fcbd2bee24613d63aa8ea28cf6a32af.tar.zst gpt4free-f51fe6322fcbd2bee24613d63aa8ea28cf6a32af.zip |
Diffstat (limited to 'g4f/api/run.py')
-rw-r--r-- | g4f/api/run.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/api/run.py b/g4f/api/run.py index bd76fcf2..c822237d 100644 --- a/g4f/api/run.py +++ b/g4f/api/run.py @@ -3,4 +3,4 @@ import g4f.api if __name__ == "__main__": print(f'Starting server... [g4f v-{g4f.version}]') - g4f.api.run('127.0.0.1:1337', 8) + g4f.api.Api(engine = g4f, debug = True).run(ip = "127.0.0.1:1337", thread_quantity = 8) |