felix commited on
Commit
2b3e2c8
·
1 Parent(s): 2e6c45c

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 = original_df.to_json()
161
  print(json_data) # Print JSON representation
162
  return original_df
163
 
 
157
  )
158
 
159
  def display(x, y):
160
+ json_data = original_df.to_json(orient='records')
161
  print(json_data) # Print JSON representation
162
  return original_df
163