pminervini commited on
Commit
3bc2f22
1 Parent(s): 6bcbc2b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -213,7 +213,7 @@ with demo:
213
 
214
  # Dummy leaderboard for handling the case when the user uses backspace key
215
  hidden_leaderboard_table_for_search = gr.components.Dataframe(
216
- value=original_df[COLS],
217
  headers=COLS,
218
  datatype=TYPES,
219
  visible=False,
 
213
 
214
  # Dummy leaderboard for handling the case when the user uses backspace key
215
  hidden_leaderboard_table_for_search = gr.components.Dataframe(
216
+ value=original_df[COLS] if original_df.empty is False else original_df,
217
  headers=COLS,
218
  datatype=TYPES,
219
  visible=False,