summaryrefslogtreecommitdiffstats
path: root/g4f/api
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2023-12-23 21:03:33 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2023-12-23 21:03:33 +0100
commit236ec98380979ef947be1648669f09cb3e40b679 (patch)
tree4d480df8ae9349d7813f43d5647928cd11355cd3 /g4f/api
parentFix api and None provider (diff)
downloadgpt4free-236ec98380979ef947be1648669f09cb3e40b679.tar
gpt4free-236ec98380979ef947be1648669f09cb3e40b679.tar.gz
gpt4free-236ec98380979ef947be1648669f09cb3e40b679.tar.bz2
gpt4free-236ec98380979ef947be1648669f09cb3e40b679.tar.lz
gpt4free-236ec98380979ef947be1648669f09cb3e40b679.tar.xz
gpt4free-236ec98380979ef947be1648669f09cb3e40b679.tar.zst
gpt4free-236ec98380979ef947be1648669f09cb3e40b679.zip
Diffstat (limited to 'g4f/api')
-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 83bb0bdd..1cc3b293 100644
--- a/g4f/api/run.py
+++ b/g4f/api/run.py
@@ -2,5 +2,5 @@ import g4f
import g4f.api
if __name__ == "__main__":
- print(f'Starting server... [g4f v-{g4f.version}]')
+ print(f'Starting server... [g4f v-{g4f.debug.get_version()}]')
g4f.api.Api(engine = g4f, debug = True).run(ip = "0.0.0.0:10000")