summaryrefslogtreecommitdiffstats
path: root/tool/readme_table.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-09-17 23:23:54 +0200
committerGitHub <noreply@github.com>2023-09-17 23:23:54 +0200
commit78bfbe717d7f9610da9c119ad47f4fba3738775a (patch)
tree90b6ab77ab6c4c53eb2ac1688178638e22be90d7 /tool/readme_table.py
parent~ | Merge pull request #907 from MIDORIBIN/fix-type-hint (diff)
downloadgpt4free-78bfbe717d7f9610da9c119ad47f4fba3738775a.tar
gpt4free-78bfbe717d7f9610da9c119ad47f4fba3738775a.tar.gz
gpt4free-78bfbe717d7f9610da9c119ad47f4fba3738775a.tar.bz2
gpt4free-78bfbe717d7f9610da9c119ad47f4fba3738775a.tar.lz
gpt4free-78bfbe717d7f9610da9c119ad47f4fba3738775a.tar.xz
gpt4free-78bfbe717d7f9610da9c119ad47f4fba3738775a.tar.zst
gpt4free-78bfbe717d7f9610da9c119ad47f4fba3738775a.zip
Diffstat (limited to '')
-rw-r--r--tool/readme_table.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/readme_table.py b/tool/readme_table.py
index 0598584d..9e43b0ae 100644
--- a/tool/readme_table.py
+++ b/tool/readme_table.py
@@ -81,7 +81,7 @@ def print_providers():
netloc = urlparse(_provider.url).netloc
website = f"[{netloc}]({_provider.url})"
- provider_name = f"g4f.Provider.{_provider.__name__}"
+ provider_name = f"g4f.provider.{_provider.__name__}"
has_gpt_35 = "✔️" if _provider.supports_gpt_35_turbo else "❌"
has_gpt_4 = "✔️" if _provider.supports_gpt_4 else "❌"
@@ -128,7 +128,7 @@ def print_models():
name = re.split(r":|/", model.name)[-1]
base_provider = base_provider_names[model.base_provider]
- provider_name = f"g4f.Provider.{model.best_provider.__name__}"
+ provider_name = f"g4f.provider.{model.best_provider.__name__}"
provider_url = provider_urls[model.best_provider.__name__]
netloc = urlparse(provider_url).netloc
website = f"[{netloc}]({provider_url})"