root
commited on
Commit
·
614985a
1
Parent(s):
3e63e2a
docs fix
Browse files
app.py
CHANGED
|
@@ -292,7 +292,7 @@ with gr.Blocks(head=GOOGLE_FONTS_URL, css=custom_css, theme=gr.themes.Soft()) as
|
|
| 292 |
with gr.Column(scale=5):
|
| 293 |
file_doc = gr.File(label="Upload Image", file_count="single", type="filepath", file_types=["image"])
|
| 294 |
preview_doc_html = gr.HTML(value="", elem_id="image_preview_doc", visible=False)
|
| 295 |
-
gr.Markdown("_(
|
| 296 |
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.*")
|
| 297 |
|
| 298 |
example_url_doc = gr.State(value=None)
|
|
|
|
| 292 |
with gr.Column(scale=5):
|
| 293 |
file_doc = gr.File(label="Upload Image", file_count="single", type="filepath", file_types=["image"])
|
| 294 |
preview_doc_html = gr.HTML(value="", elem_id="image_preview_doc", visible=False)
|
| 295 |
+
gr.Markdown("_(Use this mode for recognizing full-page documents such as reports, papers, or magazines. **Note: Headers, footers, and page numbers are ignored by default. For full results including these elements, you can obtain the raw JSON via locally deployed PaddleOCR inference.**)_")
|
| 296 |
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.*")
|
| 297 |
|
| 298 |
example_url_doc = gr.State(value=None)
|