Update models/fetch.py
Browse files- models/fetch.py +6 -2
models/fetch.py
CHANGED
|
@@ -1,10 +1,8 @@
|
|
| 1 |
import random
|
| 2 |
|
| 3 |
class FetchModel:
|
| 4 |
-
|
| 5 |
@staticmethod
|
| 6 |
def all_models():
|
| 7 |
-
|
| 8 |
models = [
|
| 9 |
{
|
| 10 |
"id": "llama-4-maverick-17b",
|
|
@@ -84,6 +82,12 @@ class FetchModel:
|
|
| 84 |
"description": "An earlier generation Grok model from xAI, optimized for general language tasks with improved efficiency.",
|
| 85 |
"type": "text"
|
| 86 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
]
|
| 88 |
|
| 89 |
return models
|
|
|
|
| 1 |
import random
|
| 2 |
|
| 3 |
class FetchModel:
|
|
|
|
| 4 |
@staticmethod
|
| 5 |
def all_models():
|
|
|
|
| 6 |
models = [
|
| 7 |
{
|
| 8 |
"id": "llama-4-maverick-17b",
|
|
|
|
| 82 |
"description": "An earlier generation Grok model from xAI, optimized for general language tasks with improved efficiency.",
|
| 83 |
"type": "text"
|
| 84 |
}
|
| 85 |
+
{
|
| 86 |
+
"id": "fal-ai/fast-sdxl",
|
| 87 |
+
"name": "Fast SDXL",
|
| 88 |
+
"description": "A fast and efficient image generation model from the SDXL family, optimized for high-quality outputs.",
|
| 89 |
+
"type": "image"
|
| 90 |
+
}
|
| 91 |
]
|
| 92 |
|
| 93 |
return models
|