Spaces:
Running
Running
Upload patch_frontend.py
#9
by bep40 - opened
- patch_frontend.py +2 -2
patch_frontend.py
CHANGED
|
@@ -31,7 +31,7 @@ model_content = model_content.replace(
|
|
| 31 |
if "DEEPSEEK_V4_FLASH_LATEST_MODEL_PATH" not in model_content:
|
| 32 |
model_content = model_content.replace(
|
| 33 |
"export const LAGUNA_S21_MODEL_PATH",
|
| 34 |
-
"export const DEEPSEEK_V4_FLASH_LATEST_MODEL_PATH = 'deepseek/deepseek-v4-flash-latest';\n\nexport const LAGUNA_S21_MODEL_PATH"
|
| 35 |
)
|
| 36 |
print("OK: Added DEEPSEEK_V4_FLASH_LATEST_MODEL_PATH")
|
| 37 |
|
|
@@ -161,7 +161,7 @@ NEW_MODELS = """const DEFAULT_MODEL_OPTIONS: ModelOption[] = [
|
|
| 161 |
{
|
| 162 |
id: 'deepseek-v4-flash-latest',
|
| 163 |
name: 'DeepSeek V4 Flash latest',
|
| 164 |
-
modelPath: 'deepseek/deepseek-v4-flash-latest',
|
| 165 |
avatarUrl: 'https://huggingface.co/api/avatars/deepseek',
|
| 166 |
recommended: true,
|
| 167 |
},
|
|
|
|
| 31 |
if "DEEPSEEK_V4_FLASH_LATEST_MODEL_PATH" not in model_content:
|
| 32 |
model_content = model_content.replace(
|
| 33 |
"export const LAGUNA_S21_MODEL_PATH",
|
| 34 |
+
"export const DEEPSEEK_V4_FLASH_LATEST_MODEL_PATH = '~deepseek/deepseek-v4-flash-latest';\n\nexport const LAGUNA_S21_MODEL_PATH"
|
| 35 |
)
|
| 36 |
print("OK: Added DEEPSEEK_V4_FLASH_LATEST_MODEL_PATH")
|
| 37 |
|
|
|
|
| 161 |
{
|
| 162 |
id: 'deepseek-v4-flash-latest',
|
| 163 |
name: 'DeepSeek V4 Flash latest',
|
| 164 |
+
modelPath: '~deepseek/deepseek-v4-flash-latest',
|
| 165 |
avatarUrl: 'https://huggingface.co/api/avatars/deepseek',
|
| 166 |
recommended: true,
|
| 167 |
},
|