Spaces:
Sleeping
Sleeping
aminabbasi
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -71,18 +71,13 @@ def init_leaderboard(dataframe):
|
|
71 |
search_columns=[AutoEvalColumn.model.name, AutoEvalColumn.license.name],
|
72 |
hide_columns=[c.name for c in fields(AutoEvalColumn) if c.hidden],
|
73 |
filter_columns=[
|
74 |
-
ColumnFilter(AutoEvalColumn.model_type.name, type="checkboxgroup", label="Model types"),
|
75 |
-
ColumnFilter(AutoEvalColumn.precision.name, type="checkboxgroup", label="Precision"),
|
76 |
ColumnFilter(
|
77 |
AutoEvalColumn.params.name,
|
78 |
type="slider",
|
79 |
min=0.01,
|
80 |
max=150,
|
81 |
label="Select the number of parameters (B)",
|
82 |
-
)
|
83 |
-
ColumnFilter(
|
84 |
-
AutoEvalColumn.still_on_hub.name, type="boolean", label="Deleted/incomplete", default=True
|
85 |
-
),
|
86 |
],
|
87 |
bool_checkboxgroup_label="Hide models",
|
88 |
interactive=False,
|
|
|
71 |
search_columns=[AutoEvalColumn.model.name, AutoEvalColumn.license.name],
|
72 |
hide_columns=[c.name for c in fields(AutoEvalColumn) if c.hidden],
|
73 |
filter_columns=[
|
|
|
|
|
74 |
ColumnFilter(
|
75 |
AutoEvalColumn.params.name,
|
76 |
type="slider",
|
77 |
min=0.01,
|
78 |
max=150,
|
79 |
label="Select the number of parameters (B)",
|
80 |
+
)
|
|
|
|
|
|
|
81 |
],
|
82 |
bool_checkboxgroup_label="Hide models",
|
83 |
interactive=False,
|