summaryrefslogtreecommitdiffstats
path: root/g4f/api/run.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-11-05 19:16:12 +0100
committerGitHub <noreply@github.com>2023-11-05 19:16:12 +0100
commitd5a499d0648ec45b2b8d93e5fb649bc34249086d (patch)
tree12f35c235c066a67a95bbf5c0c224bdf901b410a /g4f/api/run.py
parentMerge pull request #1207 from hlohaus/win (diff)
parentUpdate __init__.py (diff)
downloadgpt4free-d5a499d0648ec45b2b8d93e5fb649bc34249086d.tar
gpt4free-d5a499d0648ec45b2b8d93e5fb649bc34249086d.tar.gz
gpt4free-d5a499d0648ec45b2b8d93e5fb649bc34249086d.tar.bz2
gpt4free-d5a499d0648ec45b2b8d93e5fb649bc34249086d.tar.lz
gpt4free-d5a499d0648ec45b2b8d93e5fb649bc34249086d.tar.xz
gpt4free-d5a499d0648ec45b2b8d93e5fb649bc34249086d.tar.zst
gpt4free-d5a499d0648ec45b2b8d93e5fb649bc34249086d.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 12bf9eed..88f34741 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(g4f).run('127.0.0.1:1337', 8) \ No newline at end of file
+ g4f.api.Api(engine = g4f, debug = True).run(ip = "127.0.0.1:1337")