Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
import sys
|
| 3 |
|
| 4 |
# Install local mediagallery package at runtime (for HF Spaces)
|
|
@@ -22,15 +22,15 @@ import shutil
|
|
| 22 |
|
| 23 |
# Supported models configuration
|
| 24 |
MODELS = {
|
| 25 |
-
"
|
| 26 |
"base_url": "https://router.huggingface.co/v1",
|
| 27 |
"env_key": "HF_TOKEN",
|
| 28 |
-
"model_name": "
|
| 29 |
},
|
| 30 |
-
"
|
| 31 |
"base_url": "https://router.huggingface.co/v1",
|
| 32 |
"env_key": "HF_TOKEN",
|
| 33 |
-
"model_name": "
|
| 34 |
},
|
| 35 |
}
|
| 36 |
|
|
|
|
| 1 |
+
import subprocess
|
| 2 |
import sys
|
| 3 |
|
| 4 |
# Install local mediagallery package at runtime (for HF Spaces)
|
|
|
|
| 22 |
|
| 23 |
# Supported models configuration
|
| 24 |
MODELS = {
|
| 25 |
+
"zai-org/GLM-4.7-Flash": {
|
| 26 |
"base_url": "https://router.huggingface.co/v1",
|
| 27 |
"env_key": "HF_TOKEN",
|
| 28 |
+
"model_name": "zai-org/GLM-4.7-Flash:novita",
|
| 29 |
},
|
| 30 |
+
"moonshotai/Kimi-K2-Instruct": {
|
| 31 |
"base_url": "https://router.huggingface.co/v1",
|
| 32 |
"env_key": "HF_TOKEN",
|
| 33 |
+
"model_name": "moonshotai/Kimi-K2-Instruct-0905:groq",
|
| 34 |
},
|
| 35 |
}
|
| 36 |
|