Update app.py
Browse files
app.py
CHANGED
|
@@ -347,6 +347,13 @@ def build_ui():
|
|
| 347 |
"""Create a simple web UI that uses the same processing code above."""
|
| 348 |
with gr.Blocks() as ui:
|
| 349 |
gr.Markdown("## Document Extractor — Upload files to extract structured shipping data")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 350 |
|
| 351 |
with gr.Row():
|
| 352 |
with gr.Column(scale=2):
|
|
|
|
| 347 |
"""Create a simple web UI that uses the same processing code above."""
|
| 348 |
with gr.Blocks() as ui:
|
| 349 |
gr.Markdown("## Document Extractor — Upload files to extract structured shipping data")
|
| 350 |
+
gr.Markdown("""
|
| 351 |
+
### 💡 Tips:
|
| 352 |
+
- Upload multiple files for batch processing
|
| 353 |
+
- For images: ensure text is clear and well-lit
|
| 354 |
+
- For PDFs: both text-based and scanned PDFs work
|
| 355 |
+
- The AI will analyze visual content even if text extraction fails
|
| 356 |
+
""")
|
| 357 |
|
| 358 |
with gr.Row():
|
| 359 |
with gr.Column(scale=2):
|