Spaces:
Runtime error
Runtime error
aminabbasi
commited on
Commit
•
66a01bd
1
Parent(s):
e05f827
Update app.py
Browse files
app.py
CHANGED
@@ -74,6 +74,17 @@ def init_leaderboard(dataframe):
|
|
74 |
cant_deselect=[c.name for c in fields(AutoEvalColumn) if c.never_hidden],
|
75 |
label="Select Columns to Display:",
|
76 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
search_columns=[AutoEvalColumn.model.name, AutoEvalColumn.license.name],
|
78 |
hide_columns=[c.name for c in fields(AutoEvalColumn) if c.hidden],
|
79 |
interactive=False,
|
|
|
74 |
cant_deselect=[c.name for c in fields(AutoEvalColumn) if c.never_hidden],
|
75 |
label="Select Columns to Display:",
|
76 |
),
|
77 |
+
filter_columns=[
|
78 |
+
ColumnFilter(AutoEvalColumn.model_type.name, type="checkboxgroup", label="Model types"),
|
79 |
+
ColumnFilter(AutoEvalColumn.precision.name, type="checkboxgroup", label="Precision"),
|
80 |
+
ColumnFilter(
|
81 |
+
AutoEvalColumn.params.name,
|
82 |
+
type="slider",
|
83 |
+
min=0.01,
|
84 |
+
max=150,
|
85 |
+
label="Select the number of parameters (B)",
|
86 |
+
),
|
87 |
+
],
|
88 |
search_columns=[AutoEvalColumn.model.name, AutoEvalColumn.license.name],
|
89 |
hide_columns=[c.name for c in fields(AutoEvalColumn) if c.hidden],
|
90 |
interactive=False,
|