Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
-
[
|
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 |
[
|