brunneis commited on
Commit
0956a28
1 Parent(s): f4f0bdc

Restore slider

Browse files
Files changed (1) hide show
  1. app.py +10 -10
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
- # 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
  )
 
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
  )