Spaces:
Running
on
Zero
Running
on
Zero
upload app
Browse files
app.py
CHANGED
|
@@ -268,11 +268,11 @@ def generate_image(model_name: str, text: str, image: Image.Image,
|
|
| 268 |
|
| 269 |
# Define examples for image inference
|
| 270 |
image_examples = [
|
| 271 |
-
["
|
| 272 |
-
["
|
| 273 |
-
["OCR the image", "
|
| 274 |
-
["
|
| 275 |
-
["Convert this page to docling", "
|
| 276 |
]
|
| 277 |
|
| 278 |
with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
|
|
|
|
| 268 |
|
| 269 |
# Define examples for image inference
|
| 270 |
image_examples = [
|
| 271 |
+
["Perform OCR on the image precisely.", "examples/5.jpg"],
|
| 272 |
+
["Run OCR on the image and ensure high accuracy.", "examples/8.jpg"],
|
| 273 |
+
["Conduct OCR on the image with exact text recognition.", "examples/2.jpg"],
|
| 274 |
+
["Perform precise OCR extraction on the image.", "examples/1.jpg"],
|
| 275 |
+
["Convert this page to docling", "examples/3.jpg"],
|
| 276 |
]
|
| 277 |
|
| 278 |
with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
|