From 236ec98380979ef947be1648669f09cb3e40b679 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Sat, 23 Dec 2023 21:03:33 +0100 Subject: Fix api run module --- g4f/api/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/api') 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") -- cgit v1.2.3