summaryrefslogtreecommitdiffstats
path: root/tool/readme_table.py
diff options
context:
space:
mode:
authorHeiner Lohaus <heiner@lohaus.eu>2023-09-12 00:49:05 +0200
committerHeiner Lohaus <heiner@lohaus.eu>2023-09-12 00:49:05 +0200
commitd076909cb9430016bc6c3a80dd766ef94e710fae (patch)
treea7d3c5b68ab548a4688d10b2641fabbb6ad741f2 /tool/readme_table.py
parentAdd new providers: Aivvm, Vitalentum and Ylokh (diff)
downloadgpt4free-d076909cb9430016bc6c3a80dd766ef94e710fae.tar
gpt4free-d076909cb9430016bc6c3a80dd766ef94e710fae.tar.gz
gpt4free-d076909cb9430016bc6c3a80dd766ef94e710fae.tar.bz2
gpt4free-d076909cb9430016bc6c3a80dd766ef94e710fae.tar.lz
gpt4free-d076909cb9430016bc6c3a80dd766ef94e710fae.tar.xz
gpt4free-d076909cb9430016bc6c3a80dd766ef94e710fae.tar.zst
gpt4free-d076909cb9430016bc6c3a80dd766ef94e710fae.zip
Diffstat (limited to '')
-rw-r--r--tool/readme_table.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tool/readme_table.py b/tool/readme_table.py
index dc7c85f3..3e2a6e64 100644
--- a/tool/readme_table.py
+++ b/tool/readme_table.py
@@ -26,11 +26,11 @@ def print_imports():
def print_async():
print("##### Async support:")
print("```py")
- print("from g4f.Provider import (")
+ print("_providers = [")
for _provider in get_providers():
if issubclass(_provider, AsyncProvider):
- print(f" {_provider.__name__},")
- print(")")
+ print(f" g4f.Provider.{_provider.__name__},")
+ print("]")
print("```")
print()
print()