prithivMLmods commited on
Commit
95550be
·
verified ·
1 Parent(s): 516a8e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- [{"text": "Describe the video.", "files": ["example_videos/sample.mp4"]}],
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(