Update app.py
Browse files
app.py
CHANGED
|
@@ -64,7 +64,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 64 |
input_img = gr.Image(type="pil", label="Bank Form Photo")
|
| 65 |
submit_btn = gr.Button("Extract All Text", variant="primary")
|
| 66 |
with gr.Column():
|
| 67 |
-
output_text = gr.Textbox(label="Extracted Content", lines=20, show_copy_button=True)
|
|
|
|
| 68 |
|
| 69 |
submit_btn.click(fn=process_bank_form, inputs=input_img, outputs=output_text)
|
| 70 |
|
|
|
|
| 64 |
input_img = gr.Image(type="pil", label="Bank Form Photo")
|
| 65 |
submit_btn = gr.Button("Extract All Text", variant="primary")
|
| 66 |
with gr.Column():
|
| 67 |
+
#output_text = gr.Textbox(label="Extracted Content", lines=20, show_copy_button=True)
|
| 68 |
+
output_text = gr.Textbox(label="Result", lines=20)
|
| 69 |
|
| 70 |
submit_btn.click(fn=process_bank_form, inputs=input_img, outputs=output_text)
|
| 71 |
|