summaryrefslogtreecommitdiffstats
path: root/tool/readme_table.py
diff options
context:
space:
mode:
authorMIDORIBIN <aquarion123@gmail.com>2023-09-16 03:33:25 +0200
committerMIDORIBIN <aquarion123@gmail.com>2023-09-16 03:36:47 +0200
commitc6f2277906ec87bcb3a6848eb299d3ff0d05bd2d (patch)
treea9d131e0cab877800bc95f465a73ff299f1b7e27 /tool/readme_table.py
parentfix type hint (diff)
downloadgpt4free-c6f2277906ec87bcb3a6848eb299d3ff0d05bd2d.tar
gpt4free-c6f2277906ec87bcb3a6848eb299d3ff0d05bd2d.tar.gz
gpt4free-c6f2277906ec87bcb3a6848eb299d3ff0d05bd2d.tar.bz2
gpt4free-c6f2277906ec87bcb3a6848eb299d3ff0d05bd2d.tar.lz
gpt4free-c6f2277906ec87bcb3a6848eb299d3ff0d05bd2d.tar.xz
gpt4free-c6f2277906ec87bcb3a6848eb299d3ff0d05bd2d.tar.zst
gpt4free-c6f2277906ec87bcb3a6848eb299d3ff0d05bd2d.zip
Diffstat (limited to 'tool/readme_table.py')
-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 9e43b0ae..0598584d 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})"