zhiminy commited on
Commit
c1d84c5
·
1 Parent(s): 55a2fb1

remove obsolete models

Browse files
Files changed (2) hide show
  1. app.py +13 -22
  2. context_window.json +0 -1
app.py CHANGED
@@ -1040,28 +1040,19 @@ with gr.Blocks() as app:
1040
 
1041
  # Adjust output count to match the interface definition
1042
  return (
1043
- gr.update(
1044
- value="", interactive=True, visible=True
1045
- ), # Clear shared_input
1046
- gr.update(value="", interactive=True, visible=True), # Clear repo_url
1047
- gr.update(value="", visible=False), # Hide user_prompt_md
1048
- gr.update(value="", visible=False), # Hide response_a_title
1049
- gr.update(value="", visible=False), # Hide response_b_title
1050
- gr.update(value=""), # Clear Model A response
1051
- gr.update(value=""), # Clear Model B response
1052
- gr.update(visible=False), # Hide multi-round inputs
1053
- gr.update(visible=False), # Hide vote panel
1054
- gr.update(
1055
- value="Submit", interactive=True, visible=True
1056
- ), # Update send_first button
1057
- gr.update(
1058
- value="Can't Decide", interactive=True
1059
- ), # Reset feedback selection
1060
- get_leaderboard_data(feedback_entry), # Updated leaderboard data
1061
- gr.update(visible=True), # Show the thanks message
1062
- gr.update(
1063
- value="", interactive=True, visible=True
1064
- ), # Show the repo-related url message
1065
  )
1066
 
1067
  # Update the click event for the submit feedback button
 
1040
 
1041
  # Adjust output count to match the interface definition
1042
  return (
1043
+ gr.update(value="", interactive=True, visible=True), # [0] Clear shared_input textbox
1044
+ gr.update(value="", interactive=True, visible=True), # [1] Clear repo_url textbox
1045
+ gr.update(value="", visible=False), # [2] Hide user_prompt_md markdown component
1046
+ gr.update(value="", visible=False), # [3] Hide response_a_title markdown component
1047
+ gr.update(value="", visible=False), # [4] Hide response_b_title markdown component
1048
+ gr.update(value=""), # [5] Clear Model A response markdown component
1049
+ gr.update(value=""), # [6] Clear Model B response markdown component
1050
+ gr.update(visible=False), # [7] Hide multi_round_inputs row
1051
+ gr.update(visible=False), # [8] Hide vote_panel row
1052
+ gr.update(value="Submit", interactive=True, visible=True),# [9] Reset send_first button
1053
+ gr.update(value="Can't Decide", interactive=True), # [10] Reset feedback radio selection
1054
+ get_leaderboard_data(feedback_entry), # [11] Updated leaderboard data
1055
+ gr.update(visible=True) # [12] Show the thanks_message markdown component
 
 
 
 
 
 
 
 
 
1056
  )
1057
 
1058
  # Update the click event for the submit feedback button
context_window.json CHANGED
@@ -26,7 +26,6 @@
26
  "o1-mini": 128000,
27
  "o3-mini": 200000,
28
  "Qwen2.5-32B-Instruct": 131072,
29
- "qwen2.5-72b": 32768,
30
  "Qwen2.5-72B-Instruct": 131072,
31
  "Qwen2.5-72B-Instruct-128k": 131072,
32
  "Qwen2.5-Coder-32B-Instruct": 131072,
 
26
  "o1-mini": 128000,
27
  "o3-mini": 200000,
28
  "Qwen2.5-32B-Instruct": 131072,
 
29
  "Qwen2.5-72B-Instruct": 131072,
30
  "Qwen2.5-72B-Instruct-128k": 131072,
31
  "Qwen2.5-Coder-32B-Instruct": 131072,