summaryrefslogtreecommitdiffstats
path: root/g4f/api/run.py
diff options
context:
space:
mode:
authorRamon Victor Cardoso <ramonvc19@gmail.com>2024-01-04 00:50:51 +0100
committerRamon Victor Cardoso <ramonvc19@gmail.com>2024-01-04 00:50:51 +0100
commit694f131d091450f85e19aa46e488d6b40b1ae14a (patch)
tree39da50f7ce61474435753bb7a9d02f2a731376a7 /g4f/api/run.py
parent~ (diff)
downloadgpt4free-694f131d091450f85e19aa46e488d6b40b1ae14a.tar
gpt4free-694f131d091450f85e19aa46e488d6b40b1ae14a.tar.gz
gpt4free-694f131d091450f85e19aa46e488d6b40b1ae14a.tar.bz2
gpt4free-694f131d091450f85e19aa46e488d6b40b1ae14a.tar.lz
gpt4free-694f131d091450f85e19aa46e488d6b40b1ae14a.tar.xz
gpt4free-694f131d091450f85e19aa46e488d6b40b1ae14a.tar.zst
gpt4free-694f131d091450f85e19aa46e488d6b40b1ae14a.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 1cc3b293..4dcf5613 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.debug.get_version()}]')
+ print(f'Starting server... [g4f v-{g4f.version.utils.current_version}]')
g4f.api.Api(engine = g4f, debug = True).run(ip = "0.0.0.0:10000")