summaryrefslogtreecommitdiffstats
path: root/g4f/models.py
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-09-04 21:23:17 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-09-04 21:23:17 +0200
commit35b96f32d1671eb82f98cda751c46964954e9980 (patch)
tree833ad3e6fe43f5bc6e7b17a690dd4d527fc3b0ca /g4f/models.py
parentfeat(image-processing): add support for data URI image handlin (diff)
downloadgpt4free-35b96f32d1671eb82f98cda751c46964954e9980.tar
gpt4free-35b96f32d1671eb82f98cda751c46964954e9980.tar.gz
gpt4free-35b96f32d1671eb82f98cda751c46964954e9980.tar.bz2
gpt4free-35b96f32d1671eb82f98cda751c46964954e9980.tar.lz
gpt4free-35b96f32d1671eb82f98cda751c46964954e9980.tar.xz
gpt4free-35b96f32d1671eb82f98cda751c46964954e9980.tar.zst
gpt4free-35b96f32d1671eb82f98cda751c46964954e9980.zip
Diffstat (limited to '')
-rw-r--r--g4f/models.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/g4f/models.py b/g4f/models.py
index d0cb9f49..456a2f38 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -461,6 +461,28 @@ flux_disney = Model(
)
+### ###
+dalle = Model(
+ name = 'dalle',
+ base_provider = '',
+ best_provider = IterListProvider([Nexra])
+
+)
+
+dalle_mini = Model(
+ name = 'dalle-mini',
+ base_provider = '',
+ best_provider = IterListProvider([Nexra])
+
+)
+
+emi = Model(
+ name = 'emi',
+ base_provider = '',
+ best_provider = IterListProvider([Nexra])
+
+)
+
class ModelUtils:
"""
Utility class for mapping string identifiers to Model instances.
@@ -617,6 +639,11 @@ class ModelUtils:
'flux-3d': flux_3d,
'flux-disney': flux_disney,
+
+### ###
+'dalle': dalle,
+'dalle-mini': dalle_mini,
+'emi': emi,
}
_all_models = list(ModelUtils.convert.keys())