Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,14 +74,15 @@ def model_inference(input_dict, history):
|
|
| 74 |
|
| 75 |
# Example inputs
|
| 76 |
examples = [
|
| 77 |
-
[{"text": "Can you describe this image?", "files": ["example_images/newyork.jpg"]}],
|
| 78 |
-
[{"text": "Can you describe this image?", "files": ["example_images/dogs.jpg"]}],
|
| 79 |
-
[{"text": "Where do the severe droughts happen according to this diagram?", "files": ["example_images/examples_weather_events.png"]}],
|
| 80 |
-
[{"text": "What art era do these artpieces belong to?", "files": ["example_images/rococo.jpg", "example_images/rococo_1.jpg"]}],
|
| 81 |
[{"text": "Describe this image.", "files": ["example_images/campeones.jpg"]}],
|
| 82 |
[{"text": "What does this say?", "files": ["example_images/math.jpg"]}],
|
| 83 |
[{"text": "What is the date in this document?", "files": ["example_images/document.jpg"]}],
|
| 84 |
[{"text": "What is this UI about?", "files": ["example_images/s2w_example.png"]}],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
]
|
| 86 |
|
| 87 |
demo = gr.ChatInterface(
|
|
|
|
| 74 |
|
| 75 |
# Example inputs
|
| 76 |
examples = [
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
[{"text": "Describe this image.", "files": ["example_images/campeones.jpg"]}],
|
| 78 |
[{"text": "What does this say?", "files": ["example_images/math.jpg"]}],
|
| 79 |
[{"text": "What is the date in this document?", "files": ["example_images/document.jpg"]}],
|
| 80 |
[{"text": "What is this UI about?", "files": ["example_images/s2w_example.png"]}],
|
| 81 |
+
[{"text": "Can you describe this image?", "files": ["example_images/newyork.jpg"]}],
|
| 82 |
+
[{"text": "Can you describe this image?", "files": ["example_images/dogs.jpg"]}],
|
| 83 |
+
[{"text": "Where do the severe droughts happen according to this diagram?", "files": ["example_images/examples_weather_events.png"]}],
|
| 84 |
+
[{"text": "What art era do these artpieces belong to?", "files": ["example_images/rococo.jpg", "example_images/rococo_1.jpg"]}],
|
| 85 |
+
|
| 86 |
]
|
| 87 |
|
| 88 |
demo = gr.ChatInterface(
|