felix commited on
Commit
e4f69d6
·
1 Parent(s): 907b8c2

try debug the json issue

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ hidden_leaderboard_table_for_search = gr.components.Dataframe(
157
  )
158
 
159
  def display(x, y):
160
- json_data = hidden_leaderboard_table_for_search.dataframe.to_json()
161
  print(json_data) # Print JSON representation
162
  return original_df
163
 
 
157
  )
158
 
159
  def display(x, y):
160
+ json_data = hidden_leaderboard_table_for_search.to_json()
161
  print(json_data) # Print JSON representation
162
  return original_df
163