summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2023-12-24 17:40:53 +0100
committerGitHub <noreply@github.com>2023-12-24 17:40:53 +0100
commitaefab2a778e86b2ea6a57b1b4fa296efe90dbea4 (patch)
tree1b956fcc9ff4b59db53e553fb3c2953a77f24dac
parent~ | g4f v-0.1.9.6 (diff)
parentUpdate german readme (diff)
downloadgpt4free-aefab2a778e86b2ea6a57b1b4fa296efe90dbea4.tar
gpt4free-aefab2a778e86b2ea6a57b1b4fa296efe90dbea4.tar.gz
gpt4free-aefab2a778e86b2ea6a57b1b4fa296efe90dbea4.tar.bz2
gpt4free-aefab2a778e86b2ea6a57b1b4fa296efe90dbea4.tar.lz
gpt4free-aefab2a778e86b2ea6a57b1b4fa296efe90dbea4.tar.xz
gpt4free-aefab2a778e86b2ea6a57b1b4fa296efe90dbea4.tar.zst
gpt4free-aefab2a778e86b2ea6a57b1b4fa296efe90dbea4.zip
Diffstat (limited to '')
-rw-r--r--README-DE.md6
-rw-r--r--g4f/api/run.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/README-DE.md b/README-DE.md
index c28ded28..48823fcd 100644
--- a/README-DE.md
+++ b/README-DE.md
@@ -171,9 +171,9 @@ docker-compose down
import g4f
g4f.debug.logging = True # Aktiviere das Protokollieren
-g4f.check_version = False # Deaktiviere die automatische Versionsüberprüfung
-print(g4f.version) # Überprüfe die Version
-print(g4f.Provider.Ails.params) # Unterstützte Argumente
+g4f.debug.check_version = False # Deaktiviere die automatische Versionsüberprüfung
+print(g4f.debug.get_version()) # Überprüfe die Version
+print(g4f.Provider.Bing.params) # Unterstützte Argumente
# Automatische Auswahl des Anbieters
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")