LanguageBind commited on
Commit
2296892
1 Parent(s): f6e0af0

Update llava/serve/gradio_web_server.py

Browse files
Files changed (1) hide show
  1. llava/serve/gradio_web_server.py +66 -2
llava/serve/gradio_web_server.py CHANGED
@@ -223,18 +223,82 @@ with gr.Blocks(title='Video-LLaVA🚀', theme=gr.themes.Default(), css=block_css
223
  f"{cur_dir}/examples/sample_demo_1.mp4",
224
  "Why is this video funny?",
225
  ],
 
 
 
 
226
  [
227
  f"{cur_dir}/examples/sample_demo_3.mp4",
228
- "Can you identify any safety hazards in this video?"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
229
  ],
230
  [
231
- f"{cur_dir}/examples/sample_demo_9.mp4",
232
  "Describe the video.",
233
  ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
234
  [
235
  f"{cur_dir}/examples/sample_demo_22.mp4",
236
  "Describe the activity in the video.",
237
  ],
 
 
 
 
238
  ],
239
  inputs=[video, textbox],
240
  )
 
223
  f"{cur_dir}/examples/sample_demo_1.mp4",
224
  "Why is this video funny?",
225
  ],
226
+ [
227
+ f"{cur_dir}/examples/sample_demo_2.mp4",
228
+ "what is strange about this video?",
229
+ ],
230
  [
231
  f"{cur_dir}/examples/sample_demo_3.mp4",
232
+ "Can you identify any safety hazards in this video?",
233
+ ],
234
+ [
235
+ f"{cur_dir}/examples/sample_demo_4.mp4",
236
+ "what is unusual about this video?",
237
+ ],
238
+ [
239
+ f"{cur_dir}/examples/sample_demo_6.mp4",
240
+ "Can you write a short poem inspired fom the video.",
241
+ ],
242
+ [
243
+ f"{cur_dir}/examples/sample_demo_7.mp4",
244
+ "Create a short fairy tale with a moral lesson inspired by the video.",
245
+ ],
246
+ [
247
+ f"{cur_dir}/examples/sample_demo_8.mp4",
248
+ "Where is this video taken from? What place/landmark is shown in the video?",
249
+ ],
250
+ [
251
+ f"{cur_dir}/examples/sample_demo_10.mp4",
252
+ "Describe the video in detail.",
253
+ ],
254
+ [
255
+ f"{cur_dir}/examples/sample_demo_11.mp4",
256
+ "What is the main focus of the video.",
257
+ ],
258
+ [
259
+ f"{cur_dir}/examples/sample_demo_12.mp4",
260
+ "What does the woman use to split the logs and how does she do it?",
261
  ],
262
  [
263
+ f"{cur_dir}/examples/sample_demo_13.mp4",
264
  "Describe the video.",
265
  ],
266
+ [
267
+ f"{cur_dir}/examples/sample_demo_14.mp4",
268
+ "What is the video about?",
269
+ ],
270
+ [
271
+ f"{cur_dir}/examples/sample_demo_15.mp4",
272
+ "What is the main challenge faced by the people on the boat?",
273
+ ],
274
+ [
275
+ f"{cur_dir}/examples/sample_demo_17.mp4",
276
+ "What activities are the woman and the dog engaged in the video?",
277
+ ],
278
+ [
279
+ f"{cur_dir}/examples/sample_demo_18.mp4",
280
+ "Describe the video in detail.",
281
+ ],
282
+ [
283
+ f"{cur_dir}/examples/sample_demo_19.mp4",
284
+ "What is the video about?",
285
+ ],
286
+ [
287
+ f"{cur_dir}/examples/sample_demo_20.mp4",
288
+ "Can you describe the process for cleaning a screen window as demonstrated in the video?",
289
+ ],
290
+ [
291
+ f"{cur_dir}/examples/sample_demo_21.mp4",
292
+ "Step-by-step describe the cooking recipe shown in the video.",
293
+ ],
294
  [
295
  f"{cur_dir}/examples/sample_demo_22.mp4",
296
  "Describe the activity in the video.",
297
  ],
298
+ [
299
+ f"{cur_dir}/examples/sample_demo_23.mp4",
300
+ "Briefly describe the video.",
301
+ ],
302
  ],
303
  inputs=[video, textbox],
304
  )