Spaces:
Running
Running
fix cols
Browse files
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=
|
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 |
),
|