Spaces:
Runtime error
Runtime error
pminervini
commited on
Commit
•
3bc2f22
1
Parent(s):
6bcbc2b
update
Browse files
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,
|