yzabc007 commited on
Commit
a4bf183
1 Parent(s): a6bb893

Update space

Browse files
Files changed (1) hide show
  1. app.py +15 -14
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
- ColumnFilter(AutoEvalColumn.model_type.name, type="checkboxgroup", label="Model types"),
77
- ColumnFilter(AutoEvalColumn.precision.name, type="checkboxgroup", label="Precision"),
78
- ColumnFilter(
79
- AutoEvalColumn.params.name,
80
- type="slider",
81
- min=0.01,
82
- max=150,
83
- label="Select the number of parameters (B)",
84
- ),
85
- ColumnFilter(
86
- AutoEvalColumn.still_on_hub.name, type="boolean", label="Deleted/incomplete", default=True
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
  )