Update app.py (Minor Fixes)
#1
by
qpqpqpqpqpqp
- opened
app.py
CHANGED
|
@@ -287,7 +287,7 @@ with gr.Blocks(head=GOOGLE_FONTS_URL, css=custom_css, theme=gr.themes.Soft()) as
|
|
| 287 |
with gr.Column(scale=5):
|
| 288 |
file_doc = gr.File(label="Upload Image", file_count="single", type="filepath", file_types=["image"])
|
| 289 |
preview_doc_html = gr.HTML(value="", elem_id="image_preview_doc", visible=False)
|
| 290 |
-
gr.Markdown("_(
|
| 291 |
gr.Markdown("π‘ *To recognize a single, pre-cropped element (e.g., a table or formula), switch to the 'Element-level Recognition' tab for better results.*")
|
| 292 |
|
| 293 |
example_url_doc = gr.State(value=None)
|
|
|
|
| 287 |
with gr.Column(scale=5):
|
| 288 |
file_doc = gr.File(label="Upload Image", file_count="single", type="filepath", file_types=["image"])
|
| 289 |
preview_doc_html = gr.HTML(value="", elem_id="image_preview_doc", visible=False)
|
| 290 |
+
gr.Markdown("_(Use this mode for recognizing full-page documents with structured layouts, such as reports, papers, or magazines)_")
|
| 291 |
gr.Markdown("π‘ *To recognize a single, pre-cropped element (e.g., a table or formula), switch to the 'Element-level Recognition' tab for better results.*")
|
| 292 |
|
| 293 |
example_url_doc = gr.State(value=None)
|