Restore slider
Browse files
app.py
CHANGED
@@ -99,16 +99,16 @@ def init_leaderboard(dataframe):
|
|
99 |
),
|
100 |
search_columns=[AutoEvalColumn.model.name, AutoEvalColumn.license.name],
|
101 |
hide_columns=[c.name for c in fields(AutoEvalColumn) if c.hidden],
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
bool_checkboxgroup_label=' ',
|
113 |
interactive=False,
|
114 |
)
|
|
|
99 |
),
|
100 |
search_columns=[AutoEvalColumn.model.name, AutoEvalColumn.license.name],
|
101 |
hide_columns=[c.name for c in fields(AutoEvalColumn) if c.hidden],
|
102 |
+
filter_columns=[
|
103 |
+
ColumnFilter(AutoEvalColumn.precision.name, type="checkboxgroup", label="Floating-point format"),
|
104 |
+
ColumnFilter(
|
105 |
+
AutoEvalColumn.params.name,
|
106 |
+
type="slider",
|
107 |
+
min=1,
|
108 |
+
max=500,
|
109 |
+
label="Number of parameters (billions)",
|
110 |
+
),
|
111 |
+
],
|
112 |
bool_checkboxgroup_label=' ',
|
113 |
interactive=False,
|
114 |
)
|