diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-22 14:27:01 +0200 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-22 14:27:01 +0200 |
commit | 5a79d8cbd7d99510c9f7f504e876f5197a64927b (patch) | |
tree | bea226fcabb4a11c03b7223a921bedfab20b5d8a /g4f/models.py | |
parent | Restored provider (g4f/Provider/nexra/NexraSDTurbo.py) (diff) | |
download | gpt4free-5a79d8cbd7d99510c9f7f504e876f5197a64927b.tar gpt4free-5a79d8cbd7d99510c9f7f504e876f5197a64927b.tar.gz gpt4free-5a79d8cbd7d99510c9f7f504e876f5197a64927b.tar.bz2 gpt4free-5a79d8cbd7d99510c9f7f504e876f5197a64927b.tar.lz gpt4free-5a79d8cbd7d99510c9f7f504e876f5197a64927b.tar.xz gpt4free-5a79d8cbd7d99510c9f7f504e876f5197a64927b.tar.zst gpt4free-5a79d8cbd7d99510c9f7f504e876f5197a64927b.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 542967f2..bfc68096 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -53,6 +53,7 @@ from .Provider import ( NexraMidjourney, NexraQwen, NexraSD15, + NexraSDLora, NexraSDTurbo, OpenaiChat, PerplexityLabs, @@ -742,10 +743,17 @@ sdxl_turbo = Model( ) +sdxl_lora = Model( + name = 'sdxl-lora', + base_provider = 'Stability AI', + best_provider = NexraSDLora + +) + sdxl = Model( name = 'sdxl', base_provider = 'Stability AI', - best_provider = IterListProvider([ReplicateHome, DeepInfraImage, sdxl_turbo.best_provider]) + best_provider = IterListProvider([ReplicateHome, DeepInfraImage, sdxl_turbo.best_provider, sdxl_lora.best_provider]) ) @@ -1111,6 +1119,7 @@ class ModelUtils: ### Stability AI ### 'sdxl': sdxl, +'sdxl-lora': sdxl_lora, 'sdxl-turbo': sdxl_turbo, 'sd-1.5': sd_1_5, 'sd-3': sd_3, |