bep40 commited on
Commit
4d2fcd9
·
1 Parent(s): 206e8c5

Upload patch_frontend.py (#9)

Browse files

- Upload patch_frontend.py (34e0141bb27fa695c9d247d51756fd9da42bc439)

Files changed (1) hide show
  1. 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
  },