Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -90,6 +90,7 @@ def model_inference(input_dict, history):
|
|
| 90 |
|
| 91 |
# Example inputs
|
| 92 |
examples = [
|
|
|
|
| 93 |
[{"text": "Extract JSON from the image", "files": ["example_images/document.jpg"]}],
|
| 94 |
[{"text": "summarize the letter", "files": ["examples/1.png"]}],
|
| 95 |
[{"text": "Describe the photo", "files": ["examples/3.png"]}],
|
|
@@ -100,7 +101,7 @@ examples = [
|
|
| 100 |
[{"text": "Can you describe this image?", "files": ["example_images/newyork.jpg"]}],
|
| 101 |
[{"text": "Can you describe this image?", "files": ["example_images/dogs.jpg"]}],
|
| 102 |
[{"text": "Where do the severe droughts happen according to this diagram?", "files": ["example_images/examples_weather_events.png"]}],
|
| 103 |
-
|
| 104 |
]
|
| 105 |
|
| 106 |
demo = gr.ChatInterface(
|
|
|
|
| 90 |
|
| 91 |
# Example inputs
|
| 92 |
examples = [
|
| 93 |
+
[{"text": "Describe the video.", "files": ["examples/demo.mp4"]}],
|
| 94 |
[{"text": "Extract JSON from the image", "files": ["example_images/document.jpg"]}],
|
| 95 |
[{"text": "summarize the letter", "files": ["examples/1.png"]}],
|
| 96 |
[{"text": "Describe the photo", "files": ["examples/3.png"]}],
|
|
|
|
| 101 |
[{"text": "Can you describe this image?", "files": ["example_images/newyork.jpg"]}],
|
| 102 |
[{"text": "Can you describe this image?", "files": ["example_images/dogs.jpg"]}],
|
| 103 |
[{"text": "Where do the severe droughts happen according to this diagram?", "files": ["example_images/examples_weather_events.png"]}],
|
| 104 |
+
|
| 105 |
]
|
| 106 |
|
| 107 |
demo = gr.ChatInterface(
|