summaryrefslogtreecommitdiffstats
path: root/g4f/api
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g4f/api/__init__.py2
-rw-r--r--g4f/api/run.py1
2 files changed, 2 insertions, 1 deletions
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