Update space
Browse files
app.py
CHANGED
@@ -63,13 +63,14 @@ def init_leaderboard(dataframe):
|
|
63 |
return Leaderboard(
|
64 |
value=dataframe,
|
65 |
datatype=[c.type for c in fields(AutoEvalColumn)],
|
66 |
-
select_columns=
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
# search_columns=
|
|
|
73 |
hide_columns=[c.name for c in fields(AutoEvalColumn) if c.hidden],
|
74 |
filter_columns=[
|
75 |
ColumnFilter(AutoEvalColumn.model_type.name, type="checkboxgroup", label="Model types"),
|
|
|
63 |
return Leaderboard(
|
64 |
value=dataframe,
|
65 |
datatype=[c.type for c in fields(AutoEvalColumn)],
|
66 |
+
select_columns=None,
|
67 |
+
# SelectColumns(
|
68 |
+
# default_selection=[c.name for c in fields(AutoEvalColumn) if c.displayed_by_default],
|
69 |
+
# cant_deselect=[c.name for c in fields(AutoEvalColumn) if c.never_hidden],
|
70 |
+
# label="Select Columns to Display:",
|
71 |
+
# ),
|
72 |
+
# search_columns=None,
|
73 |
+
search_columns=[AutoEvalColumn.model.name, AutoEvalColumn.license.name],
|
74 |
hide_columns=[c.name for c in fields(AutoEvalColumn) if c.hidden],
|
75 |
filter_columns=[
|
76 |
ColumnFilter(AutoEvalColumn.model_type.name, type="checkboxgroup", label="Model types"),
|