Spaces:
Running
on
Zero
Running
on
Zero
update app
Browse files
app.py
CHANGED
|
@@ -233,9 +233,9 @@ def generate_image(model_name: str, text: str, image: Image.Image,
|
|
| 233 |
yield buffer, buffer
|
| 234 |
|
| 235 |
image_examples = [
|
| 236 |
-
["
|
| 237 |
-
["Perform OCR on the image.", "examples/1.jpg"],
|
| 238 |
-
["Extract the contents. [
|
| 239 |
]
|
| 240 |
|
| 241 |
with gr.Blocks() as demo:
|
|
|
|
| 233 |
yield buffer, buffer
|
| 234 |
|
| 235 |
image_examples = [
|
| 236 |
+
["Convert to Markdown.", "examples/3.jpg"],
|
| 237 |
+
["Perform OCR on the image. [Markdown]", "examples/1.jpg"],
|
| 238 |
+
["Extract the contents. [Markdown].", "examples/2.jpg"],
|
| 239 |
]
|
| 240 |
|
| 241 |
with gr.Blocks() as demo:
|