pufanyi commited on
Commit
70a66a1
·
1 Parent(s): 65061ce

Refactor GET_DEFAULT_CHECKBOX function to remove "Model Name" column

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ def init_leaderboard(dataframes):
108
  LEADERBOARD_DF = get_leaderboard_df(RESULTS_REPO)
109
  # default_columns = [c.name for c in fields(AutoEvalColumn) if c.displayed_by_default]
110
  default_columns = list(LEADERBOARD_DF[subset].columns)
111
- default_columns.remove("Model Name")
112
 
113
  return update_data(subset, None, default_columns), GET_DEFAULT_TEXTBOX(), GET_DEFAULT_CHECKBOX(subset)
114
 
 
108
  LEADERBOARD_DF = get_leaderboard_df(RESULTS_REPO)
109
  # default_columns = [c.name for c in fields(AutoEvalColumn) if c.displayed_by_default]
110
  default_columns = list(LEADERBOARD_DF[subset].columns)
111
+ # default_columns.remove("Model Name")
112
 
113
  return update_data(subset, None, default_columns), GET_DEFAULT_TEXTBOX(), GET_DEFAULT_CHECKBOX(subset)
114