victor HF Staff commited on
Commit
ffd3b14
·
1 Parent(s): 742cfe2

feat: Update model choice to deepseek-ai/DeepSeek-V3 and remove Qwen model

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -18,10 +18,6 @@ MODELS = {
18
  "base_url": "https://api.deepseek.com/v1",
19
  "env_key": "DEEPSEEK_API_KEY",
20
  },
21
- "Qwen/Qwen2.5-Coder-32B-Instruct": {
22
- "base_url": "https://api-inference.huggingface.co/v1/",
23
- "env_key": "HF_TOKEN",
24
- },
25
  }
26
 
27
  # Initialize client with first available model
@@ -224,7 +220,7 @@ def update(
224
  prompt,
225
  top_p=1,
226
  temperature=1,
227
- model_choice="Qwen/Qwen2.5-Coder-32B-Instruct",
228
  ):
229
  if prompt == "":
230
  raise gr.Error("Please enter a prompt.")
 
18
  "base_url": "https://api.deepseek.com/v1",
19
  "env_key": "DEEPSEEK_API_KEY",
20
  },
 
 
 
 
21
  }
22
 
23
  # Initialize client with first available model
 
220
  prompt,
221
  top_p=1,
222
  temperature=1,
223
+ model_choice="deepseek-ai/DeepSeek-V3",
224
  ):
225
  if prompt == "":
226
  raise gr.Error("Please enter a prompt.")