diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-22 14:09:03 +0200 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-22 14:09:03 +0200 |
commit | b08249ecd579ab4123578b7b5de74553e31a2ff3 (patch) | |
tree | c81d1017a3014454ad1bfae0eecc25fdc3c38be2 /g4f/models.py | |
parent | Removed provider (g4f/Provider/nexra/NexraSD21.py) (diff) | |
download | gpt4free-b08249ecd579ab4123578b7b5de74553e31a2ff3.tar gpt4free-b08249ecd579ab4123578b7b5de74553e31a2ff3.tar.gz gpt4free-b08249ecd579ab4123578b7b5de74553e31a2ff3.tar.bz2 gpt4free-b08249ecd579ab4123578b7b5de74553e31a2ff3.tar.lz gpt4free-b08249ecd579ab4123578b7b5de74553e31a2ff3.tar.xz gpt4free-b08249ecd579ab4123578b7b5de74553e31a2ff3.tar.zst gpt4free-b08249ecd579ab4123578b7b5de74553e31a2ff3.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/models.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/g4f/models.py b/g4f/models.py index 6f36892c..542967f2 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -53,6 +53,7 @@ from .Provider import ( NexraMidjourney, NexraQwen, NexraSD15, + NexraSDTurbo, OpenaiChat, PerplexityLabs, Pi, @@ -734,10 +735,17 @@ nemotron_70b = Model( ############# ### Stability AI ### +sdxl_turbo = Model( + name = 'sdxl-turbo', + base_provider = 'Stability AI', + best_provider = NexraSDTurbo + +) + sdxl = Model( name = 'sdxl', base_provider = 'Stability AI', - best_provider = IterListProvider([ReplicateHome, DeepInfraImage]) + best_provider = IterListProvider([ReplicateHome, DeepInfraImage, sdxl_turbo.best_provider]) ) @@ -1103,6 +1111,7 @@ class ModelUtils: ### Stability AI ### 'sdxl': sdxl, +'sdxl-turbo': sdxl_turbo, 'sd-1.5': sd_1_5, 'sd-3': sd_3, |