prithivMLmods commited on
Commit
80b3d4a
·
verified ·
1 Parent(s): 3331201

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -131,6 +131,7 @@ def model_inference(input_dict, history):
131
 
132
  # Example inputs
133
  examples = [
 
134
  [{"text": "Extract JSON from the image", "files": ["example_images/document.jpg"]}],
135
  [{"text": "summarize the letter", "files": ["examples/1.png"]}],
136
  [{"text": "Describe the photo", "files": ["examples/3.png"]}],
@@ -141,7 +142,6 @@ examples = [
141
  [{"text": "Can you describe this image?", "files": ["example_images/newyork.jpg"]}],
142
  [{"text": "Can you describe this image?", "files": ["example_images/dogs.jpg"]}],
143
  [{"text": "Where do the severe droughts happen according to this diagram?", "files": ["example_images/examples_weather_events.png"]}],
144
- [{"text": "Describe the video.", "files": ["example_videos/sample.mp4"]}],
145
  ]
146
 
147
  demo = gr.ChatInterface(
 
131
 
132
  # Example inputs
133
  examples = [
134
+ [{"text": "Describe the video.", "files": ["examples/demo.mp4"]}],
135
  [{"text": "Extract JSON from the image", "files": ["example_images/document.jpg"]}],
136
  [{"text": "summarize the letter", "files": ["examples/1.png"]}],
137
  [{"text": "Describe the photo", "files": ["examples/3.png"]}],
 
142
  [{"text": "Can you describe this image?", "files": ["example_images/newyork.jpg"]}],
143
  [{"text": "Can you describe this image?", "files": ["example_images/dogs.jpg"]}],
144
  [{"text": "Where do the severe droughts happen according to this diagram?", "files": ["example_images/examples_weather_events.png"]}],
 
145
  ]
146
 
147
  demo = gr.ChatInterface(