Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -112,8 +112,9 @@ def model_inference(message, history, use_docscopeocr):
|
|
| 112 |
|
| 113 |
# Gradio Interface
|
| 114 |
examples = [
|
| 115 |
-
[{"text": "OCR the text in the image", "files": ["example/
|
| 116 |
[{"text": "Describe the content of the image", "files": ["example/image2.jpg"]}],
|
|
|
|
| 117 |
]
|
| 118 |
|
| 119 |
demo = gr.ChatInterface(
|
|
|
|
| 112 |
|
| 113 |
# Gradio Interface
|
| 114 |
examples = [
|
| 115 |
+
[{"text": "OCR the text in the image", "files": ["example/image1.jpg"]}],
|
| 116 |
[{"text": "Describe the content of the image", "files": ["example/image2.jpg"]}],
|
| 117 |
+
[{"text": "Extract the image content", "files": ["example/image2.jpg"]}],
|
| 118 |
]
|
| 119 |
|
| 120 |
demo = gr.ChatInterface(
|