From dad69d24ce0d56b291a1cd5aebeeefd60aa8c3fa Mon Sep 17 00:00:00 2001 From: abc <98614666+xtekky@users.noreply.github.com> Date: Fri, 20 Oct 2023 19:28:46 +0100 Subject: ~ minor changes --- g4f/api/__init__.py | 2 +- g4f/api/run.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'g4f/api') diff --git a/g4f/api/__init__.py b/g4f/api/__init__.py index bca14050..a682f094 100644 --- a/g4f/api/__init__.py +++ b/g4f/api/__init__.py @@ -1,4 +1,4 @@ -import g4f +import g4f; g4f.logging = True import time import json import random diff --git a/g4f/api/run.py b/g4f/api/run.py index d214aae7..9a2a5786 100644 --- a/g4f/api/run.py +++ b/g4f/api/run.py @@ -2,4 +2,5 @@ import g4f import g4f.api if __name__ == "__main__": + print(f'Starting server... [g4f v-{g4f.version}]') g4f.api.Api(g4f).run('localhost:1337', 8) \ No newline at end of file -- cgit v1.2.3