pminervini commited on
Commit
6bcbc2b
1 Parent(s): 61c2746
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -202,7 +202,7 @@ with demo:
202
  [c.name for c in fields(AutoEvalColumn) if c.never_hidden]
203
  + shown_columns.value
204
  + [AutoEvalColumn.dummy.name]
205
- ],
206
  headers=[c.name for c in fields(AutoEvalColumn) if c.never_hidden] + shown_columns.value,
207
  datatype=TYPES,
208
  elem_id="leaderboard-table",
 
202
  [c.name for c in fields(AutoEvalColumn) if c.never_hidden]
203
  + shown_columns.value
204
  + [AutoEvalColumn.dummy.name]
205
+ ] if leaderboard_df.empty is False else leaderboard_df,
206
  headers=[c.name for c in fields(AutoEvalColumn) if c.never_hidden] + shown_columns.value,
207
  datatype=TYPES,
208
  elem_id="leaderboard-table",