From 694f131d091450f85e19aa46e488d6b40b1ae14a Mon Sep 17 00:00:00 2001 From: Ramon Victor Cardoso Date: Wed, 3 Jan 2024 20:50:51 -0300 Subject: Fix module 'g4f.debug' has no attribute 'get_version' --- g4f/api/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f') 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") -- cgit v1.2.3