sussahoo commited on
Commit
7282b92
·
1 Parent(s): a1fee24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -424,7 +424,7 @@ def process_image(image):
424
  csv_path = "/content/sample_data/table_" + str(idx)
425
  df = create_dataframe(sequential_cell_img_list, max_cols, max_rows, csv_path)
426
  result.append(df)
427
- res = result[0].to_json()
428
  return res
429
 
430
 
 
424
  csv_path = "/content/sample_data/table_" + str(idx)
425
  df = create_dataframe(sequential_cell_img_list, max_cols, max_rows, csv_path)
426
  result.append(df)
427
+ res = result[0].to_json(orient='records')
428
  return res
429
 
430