summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-11-25 15:48:44 +0100
committerGitHub <noreply@github.com>2024-11-25 15:48:44 +0100
commitf01f679965850f66d856b9b75c6338224c32008a (patch)
treefab64fc2c9c17e63dc698a6729ff5b156cc2a3f6
parentMerge pull request #2425 from hlohaus/model (diff)
parentFIX: Bug fix for flux-pro aka flux-schnell (diff)
downloadgpt4free-f01f679965850f66d856b9b75c6338224c32008a.tar
gpt4free-f01f679965850f66d856b9b75c6338224c32008a.tar.gz
gpt4free-f01f679965850f66d856b9b75c6338224c32008a.tar.bz2
gpt4free-f01f679965850f66d856b9b75c6338224c32008a.tar.lz
gpt4free-f01f679965850f66d856b9b75c6338224c32008a.tar.xz
gpt4free-f01f679965850f66d856b9b75c6338224c32008a.tar.zst
gpt4free-f01f679965850f66d856b9b75c6338224c32008a.zip
-rw-r--r--g4f/Provider/Airforce.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/g4f/Provider/Airforce.py b/g4f/Provider/Airforce.py
index 283d561e..5200d6f7 100644
--- a/g4f/Provider/Airforce.py
+++ b/g4f/Provider/Airforce.py
@@ -37,7 +37,7 @@ class Airforce(AsyncGeneratorProvider, ProviderModelMixin):
default_model = "gpt-4o-mini"
default_image_model = "flux"
- additional_models_imagine = ["stable-diffusion-xl-base", "stable-diffusion-xl-lightning", "Flux-1.1-Pro"]
+ additional_models_imagine = ["stable-diffusion-xl-base", "stable-diffusion-xl-lightning", "flux-1.1-pro"]
@classmethod
def get_models(cls):
@@ -87,7 +87,7 @@ class Airforce(AsyncGeneratorProvider, ProviderModelMixin):
### imagine ###
"sdxl": "stable-diffusion-xl-base",
"sdxl": "stable-diffusion-xl-lightning",
- "flux-pro": "Flux-1.1-Pro",
+ "flux-pro": "flux-1.1-pro",
}
@classmethod