Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -133,8 +133,7 @@ with gr.Blocks(title="🐳DeepSeek-OCR🐳", theme=gr.themes.Soft()) as demo:
|
|
| 133 |
gr.Markdown(
|
| 134 |
"""
|
| 135 |
# 🐳 Full Demo of DeepSeek-OCR 🐳
|
| 136 |
-
|
| 137 |
-
|
| 138 |
**💡 How to use:**
|
| 139 |
1. **Upload an image** using the upload box.
|
| 140 |
2. Select a **Resolution**. `Gundam` is recommended for most documents.
|
|
@@ -143,8 +142,6 @@ with gr.Blocks(title="🐳DeepSeek-OCR🐳", theme=gr.themes.Soft()) as demo:
|
|
| 143 |
- **📄 Convert to Markdown**: Converts the document into Markdown, preserving structure.
|
| 144 |
- **📈 Parse Figure**: Extracts structured data from charts and figures.
|
| 145 |
- **🔍 Locate Object by Reference**: Finds a specific object/text.
|
| 146 |
-
|
| 147 |
-
**⭐️ New Feature**: For **ALL** tasks, if the model detects page elements (text blocks, tables, titles, etc.), it will now draw **red bounding boxes** for them on the result image!
|
| 148 |
"""
|
| 149 |
)
|
| 150 |
|
|
|
|
| 133 |
gr.Markdown(
|
| 134 |
"""
|
| 135 |
# 🐳 Full Demo of DeepSeek-OCR 🐳
|
| 136 |
+
|
|
|
|
| 137 |
**💡 How to use:**
|
| 138 |
1. **Upload an image** using the upload box.
|
| 139 |
2. Select a **Resolution**. `Gundam` is recommended for most documents.
|
|
|
|
| 142 |
- **📄 Convert to Markdown**: Converts the document into Markdown, preserving structure.
|
| 143 |
- **📈 Parse Figure**: Extracts structured data from charts and figures.
|
| 144 |
- **🔍 Locate Object by Reference**: Finds a specific object/text.
|
|
|
|
|
|
|
| 145 |
"""
|
| 146 |
)
|
| 147 |
|