Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -146,9 +146,9 @@ def model_inference(input_dict, history):
|
|
| 146 |
yield buffer
|
| 147 |
|
| 148 |
examples = [
|
| 149 |
-
[{"text": "@aya-vision Extract as JSON table from the table", "files": ["examples/4.jpg"]}],
|
| 150 |
-
[{"text": "@aya-vision Extract JSON from the image", "files": ["example_images/document.jpg"]}],
|
| 151 |
[{"text": "@aya-vision Summarize the letter", "files": ["examples/1.png"]}],
|
|
|
|
|
|
|
| 152 |
[{"text": "@aya-vision Describe the photo", "files": ["examples/3.png"]}],
|
| 153 |
[{"text": "@aya-vision Summarize the full image in detail", "files": ["examples/2.jpg"]}],
|
| 154 |
[{"text": "@aya-vision Describe this image.", "files": ["example_images/campeones.jpg"]}],
|
|
|
|
| 146 |
yield buffer
|
| 147 |
|
| 148 |
examples = [
|
|
|
|
|
|
|
| 149 |
[{"text": "@aya-vision Summarize the letter", "files": ["examples/1.png"]}],
|
| 150 |
+
[{"text": "@aya-vision Extract JSON from the image", "files": ["example_images/document.jpg"]}],
|
| 151 |
+
[{"text": "Extract as JSON table from the table", "files": ["examples/4.jpg"]}],
|
| 152 |
[{"text": "@aya-vision Describe the photo", "files": ["examples/3.png"]}],
|
| 153 |
[{"text": "@aya-vision Summarize the full image in detail", "files": ["examples/2.jpg"]}],
|
| 154 |
[{"text": "@aya-vision Describe this image.", "files": ["example_images/campeones.jpg"]}],
|