Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -235,6 +235,7 @@ 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 |
return table_html
|
| 239 |
|
| 240 |
|
|
@@ -335,7 +336,7 @@ with gr.Blocks(title="Automatic Reimbursement Tool Demo") as page:
|
|
| 335 |
|
| 336 |
information = gr.HTML(
|
| 337 |
label="Extracted information",
|
| 338 |
-
content=f'<div style="overflow-x: auto;">
|
| 339 |
)
|
| 340 |
|
| 341 |
|
|
@@ -372,7 +373,7 @@ with gr.Blocks(title="Automatic Reimbursement Tool Demo") as page:
|
|
| 372 |
).then(
|
| 373 |
process_and_output_files,
|
| 374 |
[input_file],
|
| 375 |
-
[
|
| 376 |
).then(
|
| 377 |
flag_if_shared(flag_method),
|
| 378 |
[
|
|
|
|
| 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 |
|
|
|
|
| 336 |
|
| 337 |
information = gr.HTML(
|
| 338 |
label="Extracted information",
|
| 339 |
+
content=f'<div style="overflow-x: auto;"></div>'
|
| 340 |
)
|
| 341 |
|
| 342 |
|
|
|
|
| 373 |
).then(
|
| 374 |
process_and_output_files,
|
| 375 |
[input_file],
|
| 376 |
+
[information],
|
| 377 |
).then(
|
| 378 |
flag_if_shared(flag_method),
|
| 379 |
[
|