aminabbasi commited on
Commit
1b4963a
1 Parent(s): cc76b16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -70,6 +70,16 @@ def init_leaderboard(dataframe):
70
  value=dataframe,
71
  datatype=[c.type for c in fields(AutoEvalColumn)],
72
  interactive=False,
 
 
 
 
 
 
 
 
 
 
73
  )
74
 
75
 
 
70
  value=dataframe,
71
  datatype=[c.type for c in fields(AutoEvalColumn)],
72
  interactive=False,
73
+ filter_columns=[
74
+ ColumnFilter(AutoEvalColumn.precision.name, type="checkboxgroup", label="Precision"),
75
+ ],
76
+ select_columns=SelectColumns(
77
+ default_selection=[c.name for c in fields(AutoEvalColumn) if c.displayed_by_default],
78
+ cant_deselect=[c.name for c in fields(AutoEvalColumn) if c.never_hidden or c.dummy],
79
+ label="Select Columns to Display:",
80
+ ),
81
+ search_columns=[AutoEvalColumn.model.name, AutoEvalColumn.license.name],
82
+ hide_columns=[c.name for c in fields(AutoEvalColumn) if c.hidden].append("T"),
83
  )
84
 
85