summaryrefslogtreecommitdiffstats
path: root/g4f/api/run.py
diff options
context:
space:
mode:
authormadonchik123 <68397448+madonchik123@users.noreply.github.com>2023-12-01 23:11:52 +0100
committerGitHub <noreply@github.com>2023-12-01 23:11:52 +0100
commitb0276f6c9e2925c65a00b7189bad92feb25cefbd (patch)
tree1909ac2fd081e2e8ad5b5dfa8ae46bd6fd58c579 /g4f/api/run.py
parent~ (diff)
downloadgpt4free-b0276f6c9e2925c65a00b7189bad92feb25cefbd.tar
gpt4free-b0276f6c9e2925c65a00b7189bad92feb25cefbd.tar.gz
gpt4free-b0276f6c9e2925c65a00b7189bad92feb25cefbd.tar.bz2
gpt4free-b0276f6c9e2925c65a00b7189bad92feb25cefbd.tar.lz
gpt4free-b0276f6c9e2925c65a00b7189bad92feb25cefbd.tar.xz
gpt4free-b0276f6c9e2925c65a00b7189bad92feb25cefbd.tar.zst
gpt4free-b0276f6c9e2925c65a00b7189bad92feb25cefbd.zip
Diffstat (limited to '')
-rw-r--r--g4f/api/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/api/run.py b/g4f/api/run.py
index 88f34741..83bb0bdd 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.Api(engine = g4f, debug = True).run(ip = "127.0.0.1:1337")
+ g4f.api.Api(engine = g4f, debug = True).run(ip = "0.0.0.0:10000")