Update space
Browse files
app.py
CHANGED
@@ -72,20 +72,21 @@ def init_leaderboard(dataframe):
|
|
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 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
|
|
89 |
bool_checkboxgroup_label="Hide models",
|
90 |
interactive=False,
|
91 |
)
|
|
|
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=None,
|
76 |
+
# [
|
77 |
+
# ColumnFilter(AutoEvalColumn.model_type.name, type="checkboxgroup", label="Model types"),
|
78 |
+
# ColumnFilter(AutoEvalColumn.precision.name, type="checkboxgroup", label="Precision"),
|
79 |
+
# ColumnFilter(
|
80 |
+
# AutoEvalColumn.params.name,
|
81 |
+
# type="slider",
|
82 |
+
# min=0.01,
|
83 |
+
# max=150,
|
84 |
+
# label="Select the number of parameters (B)",
|
85 |
+
# ),
|
86 |
+
# ColumnFilter(
|
87 |
+
# AutoEvalColumn.still_on_hub.name, type="boolean", label="Deleted/incomplete", default=True
|
88 |
+
# ),
|
89 |
+
# ],
|
90 |
bool_checkboxgroup_label="Hide models",
|
91 |
interactive=False,
|
92 |
)
|