Spaces:
Sleeping
Sleeping
aminabbasi
commited on
Commit
•
cc76b16
1
Parent(s):
bff09ac
Update app.py
Browse files
app.py
CHANGED
@@ -69,16 +69,6 @@ def init_leaderboard(dataframe):
|
|
69 |
return Leaderboard(
|
70 |
value=dataframe,
|
71 |
datatype=[c.type for c in fields(AutoEvalColumn)],
|
72 |
-
select_columns=SelectColumns(
|
73 |
-
default_selection=[c.name for c in fields(AutoEvalColumn) if c.displayed_by_default],
|
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.precision.name, type="checkboxgroup", label="Precision"),
|
79 |
-
],
|
80 |
-
search_columns=[AutoEvalColumn.model.name, AutoEvalColumn.license.name],
|
81 |
-
hide_columns=[c.name for c in fields(AutoEvalColumn) if c.hidden].append("T"),
|
82 |
interactive=False,
|
83 |
)
|
84 |
|
|
|
69 |
return Leaderboard(
|
70 |
value=dataframe,
|
71 |
datatype=[c.type for c in fields(AutoEvalColumn)],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
interactive=False,
|
73 |
)
|
74 |
|