summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-01-04 20:28:57 +0100
committerGitHub <noreply@github.com>2024-01-04 20:28:57 +0100
commit679cb9ea78df72a63b3e969c4db30c8ceea1c212 (patch)
tree39da50f7ce61474435753bb7a9d02f2a731376a7
parent~ (diff)
parentFix module 'g4f.debug' has no attribute 'get_version' (diff)
downloadgpt4free-679cb9ea78df72a63b3e969c4db30c8ceea1c212.tar
gpt4free-679cb9ea78df72a63b3e969c4db30c8ceea1c212.tar.gz
gpt4free-679cb9ea78df72a63b3e969c4db30c8ceea1c212.tar.bz2
gpt4free-679cb9ea78df72a63b3e969c4db30c8ceea1c212.tar.lz
gpt4free-679cb9ea78df72a63b3e969c4db30c8ceea1c212.tar.xz
gpt4free-679cb9ea78df72a63b3e969c4db30c8ceea1c212.tar.zst
gpt4free-679cb9ea78df72a63b3e969c4db30c8ceea1c212.zip
-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")