Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -147,13 +147,13 @@ def model_inference(input_dict, history):
|
|
147 |
|
148 |
examples = [
|
149 |
[{"text": "@aya-vision Extract as JSON table from the table", "files": ["examples/4.jpg"]}],
|
150 |
-
[{"text": "
|
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"]}],
|
155 |
[{"text": "@aya-vision What is this UI about?", "files": ["example_images/s2w_example.png"]}],
|
156 |
-
[{"text": "
|
157 |
[{"text": "@aya-vision Can you describe this image?", "files": ["example_images/dogs.jpg"]}],
|
158 |
[{"text": "@aya-vision Where do the severe droughts happen according to this diagram?", "files": ["example_images/examples_weather_events.png"]}],
|
159 |
]
|
|
|
147 |
|
148 |
examples = [
|
149 |
[{"text": "@aya-vision Extract as JSON table from the table", "files": ["examples/4.jpg"]}],
|
150 |
+
[{"text": "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"]}],
|
155 |
[{"text": "@aya-vision What is this UI about?", "files": ["example_images/s2w_example.png"]}],
|
156 |
+
[{"text": "Can you describe this image?", "files": ["example_images/newyork.jpg"]}],
|
157 |
[{"text": "@aya-vision Can you describe this image?", "files": ["example_images/dogs.jpg"]}],
|
158 |
[{"text": "@aya-vision Where do the severe droughts happen according to this diagram?", "files": ["example_images/examples_weather_events.png"]}],
|
159 |
]
|