Spaces:
Running
on
Zero
Running
on
Zero
update app
Browse files
app.py
CHANGED
|
@@ -221,10 +221,10 @@ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
|
|
| 221 |
submit_btn = gr.Button("Process Image", variant="primary")
|
| 222 |
|
| 223 |
with gr.Column(scale=2):
|
| 224 |
-
output_text = gr.Textbox(label="Output(OCR)", lines=
|
| 225 |
-
output_image = gr.Image(label="Layout Detection(If Any)", type="pil")
|
| 226 |
|
| 227 |
-
with gr.Accordion("Note
|
| 228 |
gr.Markdown("[ This app is running with transformers v.4.57.1 and torch v.2.6.0. ]")
|
| 229 |
|
| 230 |
def toggle_ref_text_visibility(task):
|
|
|
|
| 221 |
submit_btn = gr.Button("Process Image", variant="primary")
|
| 222 |
|
| 223 |
with gr.Column(scale=2):
|
| 224 |
+
output_text = gr.Textbox(label="Output (OCR)", lines=9, show_copy_button=True)
|
| 225 |
+
output_image = gr.Image(label="Layout Detection (If Any)", type="pil")
|
| 226 |
|
| 227 |
+
with gr.Accordion("Note ›", open=False):
|
| 228 |
gr.Markdown("[ This app is running with transformers v.4.57.1 and torch v.2.6.0. ]")
|
| 229 |
|
| 230 |
def toggle_ref_text_visibility(task):
|