akhaliq HF Staff commited on
Commit
6c04625
·
1 Parent(s): de52671

add qwen coder new

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -296,6 +296,11 @@ AVAILABLE_MODELS = [
296
  "name": "Qwen3-235B-A22B-Instruct-2507",
297
  "id": "Qwen/Qwen3-235B-A22B-Instruct-2507",
298
  "description": "Qwen3-235B-A22B-Instruct-2507 model for code generation and general tasks"
 
 
 
 
 
299
  }
300
  ]
301
 
@@ -1623,7 +1628,7 @@ with gr.Blocks(
1623
  setting = gr.State({
1624
  "system": HTML_SYSTEM_PROMPT,
1625
  })
1626
- current_model = gr.State(AVAILABLE_MODELS[0]) # Moonshot Kimi-K2
1627
  open_panel = gr.State(None)
1628
  last_login_state = gr.State(None)
1629
 
@@ -1705,7 +1710,7 @@ with gr.Blocks(
1705
  )
1706
  model_dropdown = gr.Dropdown(
1707
  choices=[model['name'] for model in AVAILABLE_MODELS],
1708
- value=AVAILABLE_MODELS[0]['name'],
1709
  label="Model",
1710
  visible=True
1711
  )
 
296
  "name": "Qwen3-235B-A22B-Instruct-2507",
297
  "id": "Qwen/Qwen3-235B-A22B-Instruct-2507",
298
  "description": "Qwen3-235B-A22B-Instruct-2507 model for code generation and general tasks"
299
+ },
300
+ {
301
+ "name": "Qwen3-Coder-480B-A35B",
302
+ "id": "Qwen/Qwen3-Coder-480B-A35B-Instruct",
303
+ "description": "Qwen3-Coder-480B-A35B-Instruct model for advanced code generation and programming tasks"
304
  }
305
  ]
306
 
 
1628
  setting = gr.State({
1629
  "system": HTML_SYSTEM_PROMPT,
1630
  })
1631
+ current_model = gr.State(AVAILABLE_MODELS[10]) # Qwen3-Coder-480B-A35B
1632
  open_panel = gr.State(None)
1633
  last_login_state = gr.State(None)
1634
 
 
1710
  )
1711
  model_dropdown = gr.Dropdown(
1712
  choices=[model['name'] for model in AVAILABLE_MODELS],
1713
+ value=AVAILABLE_MODELS[10]['name'],
1714
  label="Model",
1715
  visible=True
1716
  )