Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,166 +24,166 @@ def get_models():
|
|
| 24 |
"models": {
|
| 25 |
"groq": [
|
| 26 |
{
|
| 27 |
-
"active":
|
| 28 |
"context_window": 4096,
|
| 29 |
"created": 1725402373,
|
| 30 |
"id": "llava-v1.5-7b-4096-preview",
|
| 31 |
"object": "model",
|
| 32 |
"owned_by": "Other",
|
| 33 |
-
"public_apps":
|
| 34 |
},
|
| 35 |
{
|
| 36 |
-
"active":
|
| 37 |
"context_window": 8192,
|
| 38 |
"created": 1693721698,
|
| 39 |
"id": "llama3-groq-70b-8192-tool-use-preview",
|
| 40 |
"object": "model",
|
| 41 |
"owned_by": "Groq",
|
| 42 |
-
"public_apps":
|
| 43 |
},
|
| 44 |
{
|
| 45 |
-
"active":
|
| 46 |
"context_window": 8192,
|
| 47 |
"created": 1727224290,
|
| 48 |
"id": "llama-3.2-3b-preview",
|
| 49 |
"object": "model",
|
| 50 |
"owned_by": "Meta",
|
| 51 |
-
"public_apps":
|
| 52 |
},
|
| 53 |
{
|
| 54 |
-
"active":
|
| 55 |
"context_window": 8192,
|
| 56 |
"created": 1727283005,
|
| 57 |
"id": "llama-3.2-11b-text-preview",
|
| 58 |
"object": "model",
|
| 59 |
"owned_by": "Meta",
|
| 60 |
-
"public_apps":
|
| 61 |
},
|
| 62 |
{
|
| 63 |
-
"active":
|
| 64 |
"context_window": 448,
|
| 65 |
"created": 1693721698,
|
| 66 |
"id": "distil-whisper-large-v3-en",
|
| 67 |
"object": "model",
|
| 68 |
"owned_by": "Hugging Face",
|
| 69 |
-
"public_apps":
|
| 70 |
},
|
| 71 |
{
|
| 72 |
-
"active":
|
| 73 |
"context_window": 8192,
|
| 74 |
"created": 1693721698,
|
| 75 |
"id": "gemma-7b-it",
|
| 76 |
"object": "model",
|
| 77 |
"owned_by": "Google",
|
| 78 |
-
"public_apps":
|
| 79 |
},
|
| 80 |
{
|
| 81 |
-
"active":
|
| 82 |
"context_window": 8192,
|
| 83 |
"created": 1727285716,
|
| 84 |
"id": "llama-3.2-90b-text-preview",
|
| 85 |
"object": "model",
|
| 86 |
"owned_by": "Meta",
|
| 87 |
-
"public_apps":
|
| 88 |
},
|
| 89 |
{
|
| 90 |
-
"active":
|
| 91 |
"context_window": 32768,
|
| 92 |
"created": 1693721698,
|
| 93 |
"id": "llama-3.1-70b-versatile",
|
| 94 |
"object": "model",
|
| 95 |
"owned_by": "Meta",
|
| 96 |
-
"public_apps":
|
| 97 |
},
|
| 98 |
{
|
| 99 |
-
"active":
|
| 100 |
"context_window": 8192,
|
| 101 |
"created": 1727226914,
|
| 102 |
"id": "llama-3.2-90b-vision-preview",
|
| 103 |
"object": "model",
|
| 104 |
"owned_by": "Meta",
|
| 105 |
-
"public_apps":
|
| 106 |
},
|
| 107 |
{
|
| 108 |
-
"active":
|
| 109 |
"context_window": 8192,
|
| 110 |
"created": 1693721698,
|
| 111 |
"id": "llama3-8b-8192",
|
| 112 |
"object": "model",
|
| 113 |
"owned_by": "Meta",
|
| 114 |
-
"public_apps":
|
| 115 |
},
|
| 116 |
{
|
| 117 |
-
"active":
|
| 118 |
"context_window": 8192,
|
| 119 |
"created": 1727226869,
|
| 120 |
"id": "llama-3.2-11b-vision-preview",
|
| 121 |
"object": "model",
|
| 122 |
"owned_by": "Meta",
|
| 123 |
-
"public_apps":
|
| 124 |
},
|
| 125 |
{
|
| 126 |
-
"active":
|
| 127 |
"context_window": 8192,
|
| 128 |
"created": 1727224268,
|
| 129 |
"id": "llama-3.2-1b-preview",
|
| 130 |
"object": "model",
|
| 131 |
"owned_by": "Meta",
|
| 132 |
-
"public_apps":
|
| 133 |
},
|
| 134 |
{
|
| 135 |
-
"active":
|
| 136 |
"context_window": 131072,
|
| 137 |
"created": 1693721698,
|
| 138 |
"id": "llama-3.1-8b-instant",
|
| 139 |
"object": "model",
|
| 140 |
"owned_by": "Meta",
|
| 141 |
-
"public_apps":
|
| 142 |
},
|
| 143 |
{
|
| 144 |
-
"active":
|
| 145 |
"context_window": 8192,
|
| 146 |
"created": 1693721698,
|
| 147 |
"id": "llama-guard-3-8b",
|
| 148 |
"object": "model",
|
| 149 |
"owned_by": "Meta",
|
| 150 |
-
"public_apps":
|
| 151 |
},
|
| 152 |
{
|
| 153 |
-
"active":
|
| 154 |
"context_window": 32768,
|
| 155 |
"created": 1693721698,
|
| 156 |
"id": "mixtral-8x7b-32768",
|
| 157 |
"object": "model",
|
| 158 |
"owned_by": "Mistral AI",
|
| 159 |
-
"public_apps":
|
| 160 |
},
|
| 161 |
{
|
| 162 |
-
"active":
|
| 163 |
"context_window": 8192,
|
| 164 |
"created": 1693721698,
|
| 165 |
"id": "llama3-70b-8192",
|
| 166 |
"object": "model",
|
| 167 |
"owned_by": "Meta",
|
| 168 |
-
"public_apps":
|
| 169 |
},
|
| 170 |
{
|
| 171 |
-
"active":
|
| 172 |
"context_window": 8192,
|
| 173 |
"created": 1693721698,
|
| 174 |
"id": "llama3-groq-8b-8192-tool-use-preview",
|
| 175 |
"object": "model",
|
| 176 |
"owned_by": "Groq",
|
| 177 |
-
"public_apps":
|
| 178 |
},
|
| 179 |
{
|
| 180 |
-
"active":
|
| 181 |
"context_window": 8192,
|
| 182 |
"created": 1693721698,
|
| 183 |
"id": "gemma2-9b-it",
|
| 184 |
"object": "model",
|
| 185 |
"owned_by": "Google",
|
| 186 |
-
"public_apps":
|
| 187 |
}
|
| 188 |
],
|
| 189 |
"litellm": [],
|
|
|
|
| 24 |
"models": {
|
| 25 |
"groq": [
|
| 26 |
{
|
| 27 |
+
"active": True,
|
| 28 |
"context_window": 4096,
|
| 29 |
"created": 1725402373,
|
| 30 |
"id": "llava-v1.5-7b-4096-preview",
|
| 31 |
"object": "model",
|
| 32 |
"owned_by": "Other",
|
| 33 |
+
"public_apps": None
|
| 34 |
},
|
| 35 |
{
|
| 36 |
+
"active": True,
|
| 37 |
"context_window": 8192,
|
| 38 |
"created": 1693721698,
|
| 39 |
"id": "llama3-groq-70b-8192-tool-use-preview",
|
| 40 |
"object": "model",
|
| 41 |
"owned_by": "Groq",
|
| 42 |
+
"public_apps": None
|
| 43 |
},
|
| 44 |
{
|
| 45 |
+
"active": True,
|
| 46 |
"context_window": 8192,
|
| 47 |
"created": 1727224290,
|
| 48 |
"id": "llama-3.2-3b-preview",
|
| 49 |
"object": "model",
|
| 50 |
"owned_by": "Meta",
|
| 51 |
+
"public_apps": None
|
| 52 |
},
|
| 53 |
{
|
| 54 |
+
"active": True,
|
| 55 |
"context_window": 8192,
|
| 56 |
"created": 1727283005,
|
| 57 |
"id": "llama-3.2-11b-text-preview",
|
| 58 |
"object": "model",
|
| 59 |
"owned_by": "Meta",
|
| 60 |
+
"public_apps": None
|
| 61 |
},
|
| 62 |
{
|
| 63 |
+
"active": True,
|
| 64 |
"context_window": 448,
|
| 65 |
"created": 1693721698,
|
| 66 |
"id": "distil-whisper-large-v3-en",
|
| 67 |
"object": "model",
|
| 68 |
"owned_by": "Hugging Face",
|
| 69 |
+
"public_apps": None
|
| 70 |
},
|
| 71 |
{
|
| 72 |
+
"active": True,
|
| 73 |
"context_window": 8192,
|
| 74 |
"created": 1693721698,
|
| 75 |
"id": "gemma-7b-it",
|
| 76 |
"object": "model",
|
| 77 |
"owned_by": "Google",
|
| 78 |
+
"public_apps": None
|
| 79 |
},
|
| 80 |
{
|
| 81 |
+
"active": True,
|
| 82 |
"context_window": 8192,
|
| 83 |
"created": 1727285716,
|
| 84 |
"id": "llama-3.2-90b-text-preview",
|
| 85 |
"object": "model",
|
| 86 |
"owned_by": "Meta",
|
| 87 |
+
"public_apps": None
|
| 88 |
},
|
| 89 |
{
|
| 90 |
+
"active": True,
|
| 91 |
"context_window": 32768,
|
| 92 |
"created": 1693721698,
|
| 93 |
"id": "llama-3.1-70b-versatile",
|
| 94 |
"object": "model",
|
| 95 |
"owned_by": "Meta",
|
| 96 |
+
"public_apps": None
|
| 97 |
},
|
| 98 |
{
|
| 99 |
+
"active": True,
|
| 100 |
"context_window": 8192,
|
| 101 |
"created": 1727226914,
|
| 102 |
"id": "llama-3.2-90b-vision-preview",
|
| 103 |
"object": "model",
|
| 104 |
"owned_by": "Meta",
|
| 105 |
+
"public_apps": None
|
| 106 |
},
|
| 107 |
{
|
| 108 |
+
"active": True,
|
| 109 |
"context_window": 8192,
|
| 110 |
"created": 1693721698,
|
| 111 |
"id": "llama3-8b-8192",
|
| 112 |
"object": "model",
|
| 113 |
"owned_by": "Meta",
|
| 114 |
+
"public_apps": None
|
| 115 |
},
|
| 116 |
{
|
| 117 |
+
"active": True,
|
| 118 |
"context_window": 8192,
|
| 119 |
"created": 1727226869,
|
| 120 |
"id": "llama-3.2-11b-vision-preview",
|
| 121 |
"object": "model",
|
| 122 |
"owned_by": "Meta",
|
| 123 |
+
"public_apps": None
|
| 124 |
},
|
| 125 |
{
|
| 126 |
+
"active": True,
|
| 127 |
"context_window": 8192,
|
| 128 |
"created": 1727224268,
|
| 129 |
"id": "llama-3.2-1b-preview",
|
| 130 |
"object": "model",
|
| 131 |
"owned_by": "Meta",
|
| 132 |
+
"public_apps": None
|
| 133 |
},
|
| 134 |
{
|
| 135 |
+
"active": True,
|
| 136 |
"context_window": 131072,
|
| 137 |
"created": 1693721698,
|
| 138 |
"id": "llama-3.1-8b-instant",
|
| 139 |
"object": "model",
|
| 140 |
"owned_by": "Meta",
|
| 141 |
+
"public_apps": None
|
| 142 |
},
|
| 143 |
{
|
| 144 |
+
"active": True,
|
| 145 |
"context_window": 8192,
|
| 146 |
"created": 1693721698,
|
| 147 |
"id": "llama-guard-3-8b",
|
| 148 |
"object": "model",
|
| 149 |
"owned_by": "Meta",
|
| 150 |
+
"public_apps": None
|
| 151 |
},
|
| 152 |
{
|
| 153 |
+
"active": True,
|
| 154 |
"context_window": 32768,
|
| 155 |
"created": 1693721698,
|
| 156 |
"id": "mixtral-8x7b-32768",
|
| 157 |
"object": "model",
|
| 158 |
"owned_by": "Mistral AI",
|
| 159 |
+
"public_apps": None
|
| 160 |
},
|
| 161 |
{
|
| 162 |
+
"active": True,
|
| 163 |
"context_window": 8192,
|
| 164 |
"created": 1693721698,
|
| 165 |
"id": "llama3-70b-8192",
|
| 166 |
"object": "model",
|
| 167 |
"owned_by": "Meta",
|
| 168 |
+
"public_apps": None
|
| 169 |
},
|
| 170 |
{
|
| 171 |
+
"active": True,
|
| 172 |
"context_window": 8192,
|
| 173 |
"created": 1693721698,
|
| 174 |
"id": "llama3-groq-8b-8192-tool-use-preview",
|
| 175 |
"object": "model",
|
| 176 |
"owned_by": "Groq",
|
| 177 |
+
"public_apps": None
|
| 178 |
},
|
| 179 |
{
|
| 180 |
+
"active": True,
|
| 181 |
"context_window": 8192,
|
| 182 |
"created": 1693721698,
|
| 183 |
"id": "gemma2-9b-it",
|
| 184 |
"object": "model",
|
| 185 |
"owned_by": "Google",
|
| 186 |
+
"public_apps": None
|
| 187 |
}
|
| 188 |
],
|
| 189 |
"litellm": [],
|