cdminix commited on
Commit
27a8f27
·
1 Parent(s): 26e4879
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -185,10 +185,12 @@ def init_leaderboard(dataframe):
185
  df_types.append("markdown")
186
  else:
187
  df_types.append("number")
 
 
188
  return Leaderboard(
189
  value=dataframe,
190
  select_columns=SelectColumns(
191
- default_selection=list(dataframe.columns) - ["Tags"],
192
  cant_deselect=["Model", "Mean"],
193
  label="Select Columns to Display:",
194
  ),
 
185
  df_types.append("markdown")
186
  else:
187
  df_types.append("number")
188
+ cols = list(dataframe.columns)
189
+ cols.remove("Tags")
190
  return Leaderboard(
191
  value=dataframe,
192
  select_columns=SelectColumns(
193
+ default_selection=cols,
194
  cant_deselect=["Model", "Mean"],
195
  label="Select Columns to Display:",
196
  ),