Update app.py
Browse files
app.py
CHANGED
|
@@ -441,8 +441,7 @@ with gr.Blocks(title="Invoice Extraction with Layout Preservation") as demo:
|
|
| 441 |
text_output = gr.Textbox(
|
| 442 |
label="Extracted Text (Layout Preserved)",
|
| 443 |
lines=30,
|
| 444 |
-
max_lines=50
|
| 445 |
-
show_copy_button=True
|
| 446 |
)
|
| 447 |
|
| 448 |
gr.Examples(
|
|
@@ -467,6 +466,5 @@ with gr.Blocks(title="Invoice Extraction with Layout Preservation") as demo:
|
|
| 467 |
**Note:** First run may take longer as models are downloaded and initialized.
|
| 468 |
""")
|
| 469 |
|
| 470 |
-
|
| 471 |
if __name__ == "__main__":
|
| 472 |
demo.launch(server_name="0.0.0.0", server_port=7860)
|
|
|
|
| 441 |
text_output = gr.Textbox(
|
| 442 |
label="Extracted Text (Layout Preserved)",
|
| 443 |
lines=30,
|
| 444 |
+
max_lines=50
|
|
|
|
| 445 |
)
|
| 446 |
|
| 447 |
gr.Examples(
|
|
|
|
| 466 |
**Note:** First run may take longer as models are downloaded and initialized.
|
| 467 |
""")
|
| 468 |
|
|
|
|
| 469 |
if __name__ == "__main__":
|
| 470 |
demo.launch(server_name="0.0.0.0", server_port=7860)
|