diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-02-24 02:11:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-24 02:11:07 +0100 |
commit | a13ddabbb4c6f927bec991e06bcd234ae3d88646 (patch) | |
tree | 1b2c7c9924b53a59e9e1af462ed97a2eaaf8648a /g4f/__init__.py | |
parent | Merge pull request #1617 from hlohaus/gem (diff) | |
parent | Fix some typos (diff) | |
download | gpt4free-a13ddabbb4c6f927bec991e06bcd234ae3d88646.tar gpt4free-a13ddabbb4c6f927bec991e06bcd234ae3d88646.tar.gz gpt4free-a13ddabbb4c6f927bec991e06bcd234ae3d88646.tar.bz2 gpt4free-a13ddabbb4c6f927bec991e06bcd234ae3d88646.tar.lz gpt4free-a13ddabbb4c6f927bec991e06bcd234ae3d88646.tar.xz gpt4free-a13ddabbb4c6f927bec991e06bcd234ae3d88646.tar.zst gpt4free-a13ddabbb4c6f927bec991e06bcd234ae3d88646.zip |
Diffstat (limited to 'g4f/__init__.py')
-rw-r--r-- | g4f/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/__init__.py b/g4f/__init__.py index 6716c727..5df942ae 100644 --- a/g4f/__init__.py +++ b/g4f/__init__.py @@ -42,7 +42,7 @@ def get_model_and_provider(model : Union[Model, str], if debug.version_check: debug.version_check = False version.utils.check_version() - + if isinstance(provider, str): if " " in provider: provider_list = [ProviderUtils.convert[p] for p in provider.split() if p in ProviderUtils.convert] |