qq1023 commited on
Commit
cc0d004
1 Parent(s): 6a1cb80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -332,7 +332,13 @@ with gr.Blocks(title="Automatic Reimbursement Tool Demo") as page:
332
  interactive=False,
333
  height=240,
334
  )
335
- information = gr.HTML()
 
 
 
 
 
 
336
 
337
  with gr.Row():
338
  flag_incorrect_button = gr.Button(
@@ -366,7 +372,7 @@ with gr.Blocks(title="Automatic Reimbursement Tool Demo") as page:
366
  ).then(
367
  process_and_output_files,
368
  [input_file],
369
- [information],
370
  ).then(
371
  flag_if_shared(flag_method),
372
  [
 
332
  interactive=False,
333
  height=240,
334
  )
335
+
336
+ information = gr.HTML(
337
+ label="Extracted information",
338
+ content=f'<div style="overflow-x: auto;">{table_html}</div>'
339
+ )
340
+
341
+
342
 
343
  with gr.Row():
344
  flag_incorrect_button = gr.Button(
 
372
  ).then(
373
  process_and_output_files,
374
  [input_file],
375
+ [table_html],
376
  ).then(
377
  flag_if_shared(flag_method),
378
  [