Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -207,13 +207,12 @@ with demo:
|
|
207 |
elem_id="filter-columns-size",
|
208 |
)
|
209 |
|
210 |
-
default_leaderboard_df = value=leaderboard_df[
|
211 |
-
[c.name for c in fields(AutoEvalColumn) if c.never_hidden]
|
212 |
-
+ shown_columns.value
|
213 |
-
+ [AutoEvalColumn.dummy.name]
|
214 |
-
]
|
215 |
leaderboard_table = gr.components.Dataframe(
|
216 |
-
value=
|
|
|
|
|
|
|
|
|
217 |
headers=[c.name for c in fields(AutoEvalColumn) if c.never_hidden] + shown_columns.value,
|
218 |
datatype=TYPES,
|
219 |
elem_id="leaderboard-table",
|
|
|
207 |
elem_id="filter-columns-size",
|
208 |
)
|
209 |
|
|
|
|
|
|
|
|
|
|
|
210 |
leaderboard_table = gr.components.Dataframe(
|
211 |
+
value=leaderboard_df[
|
212 |
+
[c.name for c in fields(AutoEvalColumn) if c.never_hidden]
|
213 |
+
+ shown_columns.value
|
214 |
+
+ [AutoEvalColumn.dummy.name]
|
215 |
+
],
|
216 |
headers=[c.name for c in fields(AutoEvalColumn) if c.never_hidden] + shown_columns.value,
|
217 |
datatype=TYPES,
|
218 |
elem_id="leaderboard-table",
|