From 3e7bee6741dc8b6ee8013a4aec3606fc315976b9 Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Tue, 22 Oct 2024 13:25:34 +0300 Subject: Updated (g4f/models.py) --- g4f/models.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'g4f/models.py') diff --git a/g4f/models.py b/g4f/models.py index 8aece1ec..6fa2fca1 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -50,6 +50,7 @@ from .Provider import ( NexraEmi, NexraFluxPro, NexraGeminiPro, + NexraMidjourney, NexraQwen, OpenaiChat, PerplexityLabs, @@ -835,6 +836,14 @@ dalle = Model( ) +### Midjourney ### +midjourney = Model( + name = 'midjourney', + base_provider = 'Midjourney', + best_provider = NexraMidjourney + +) + ### Other ### emi = Model( name = 'emi', @@ -1109,6 +1118,9 @@ class ModelUtils: 'dalle': dalle, 'dalle-2': dalle_2, +### Midjourney ### +'midjourney': midjourney, + ### Other ### 'emi': emi, -- cgit v1.2.3