Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -85,6 +85,7 @@ def model_inference(input_dict, history):
|
|
85 |
|
86 |
# Example inputs
|
87 |
examples = [
|
|
|
88 |
[{"text": "Extract JSON from the image", "files": ["example_images/document.jpg"]}],
|
89 |
[{"text": "summarize the letter", "files": ["examples/1.png"]}],
|
90 |
[{"text": "Describe the photo", "files": ["examples/3.png"]}],
|
@@ -95,7 +96,6 @@ examples = [
|
|
95 |
[{"text": "Can you describe this image?", "files": ["example_images/newyork.jpg"]}],
|
96 |
[{"text": "Can you describe this image?", "files": ["example_images/dogs.jpg"]}],
|
97 |
[{"text": "Where do the severe droughts happen according to this diagram?", "files": ["example_images/examples_weather_events.png"]}],
|
98 |
-
[{"text": "Describe the video.", "files": ["example_videos/sample.mp4"]}],
|
99 |
]
|
100 |
|
101 |
demo = gr.ChatInterface(
|
|
|
85 |
|
86 |
# Example inputs
|
87 |
examples = [
|
88 |
+
[{"text": "Describe the video.", "files": ["examples/demo.mp4"]}],
|
89 |
[{"text": "Extract JSON from the image", "files": ["example_images/document.jpg"]}],
|
90 |
[{"text": "summarize the letter", "files": ["examples/1.png"]}],
|
91 |
[{"text": "Describe the photo", "files": ["examples/3.png"]}],
|
|
|
96 |
[{"text": "Can you describe this image?", "files": ["example_images/newyork.jpg"]}],
|
97 |
[{"text": "Can you describe this image?", "files": ["example_images/dogs.jpg"]}],
|
98 |
[{"text": "Where do the severe droughts happen according to this diagram?", "files": ["example_images/examples_weather_events.png"]}],
|
|
|
99 |
]
|
100 |
|
101 |
demo = gr.ChatInterface(
|