qq1023 commited on
Commit
5ce98a9
·
1 Parent(s): 0581b3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -235,8 +235,8 @@ def process_and_output_files(input_files):
235
  df = pd.DataFrame(string_data)
236
  table_html = df.to_html(classes="table table-bordered", index=False)
237
 
238
-
239
- return table_html
240
 
241
 
242
 
@@ -334,12 +334,7 @@ with gr.Blocks(title="Automatic Reimbursement Tool Demo") as page:
334
  height=240,
335
  )
336
 
337
- information = gr.HTML(
338
- label="Extracted information",
339
- content=f'<div style="overflow-x: auto;"></div>'
340
- )
341
-
342
-
343
 
344
  with gr.Row():
345
  flag_incorrect_button = gr.Button(
 
235
  df = pd.DataFrame(string_data)
236
  table_html = df.to_html(classes="table table-bordered", index=False)
237
 
238
+ scrollable_table = f'<div style="overflow-x: auto;">{table_html}</div>'
239
+ return scrollable_table
240
 
241
 
242
 
 
334
  height=240,
335
  )
336
 
337
+ information = gr.HTML()
 
 
 
 
 
338
 
339
  with gr.Row():
340
  flag_incorrect_button = gr.Button(