Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -30,14 +30,15 @@ def progress_bar_html(label: str) -> str:
|
|
30 |
|
31 |
#adding examples
|
32 |
examples=[
|
33 |
-
[{"text": "Explain the Image", "files": ["examples/3.jpg"]}],
|
34 |
-
[{"text": "Transcription of the letter", "files": ["examples/222.png"]}],
|
35 |
[{"text": "@video-infer Explain the content of the Advertisement", "files": ["examples/videoplayback.mp4"]}],
|
|
|
36 |
[{"text": "@video-infer Explain the content of the video in detail", "files": ["examples/breakfast.mp4"]}],
|
37 |
[{"text": "@video-infer Describe the video", "files": ["examples/Missing.mp4"]}],
|
38 |
[{"text": "@video-infer Explain what is happening in this video ?", "files": ["examples/oreo.mp4"]}],
|
39 |
[{"text": "@video-infer Summarize the events in this video", "files": ["examples/sky.mp4"]}],
|
40 |
[{"text": "@video-infer What is in the video ?", "files": ["examples/redlight.mp4"]}],
|
|
|
|
|
41 |
]
|
42 |
|
43 |
# Helper: Downsample video to extract a fixed number of frames.
|
|
|
30 |
|
31 |
#adding examples
|
32 |
examples=[
|
|
|
|
|
33 |
[{"text": "@video-infer Explain the content of the Advertisement", "files": ["examples/videoplayback.mp4"]}],
|
34 |
+
[{"text": "Explain the Image", "files": ["examples/3.jpg"]}],
|
35 |
[{"text": "@video-infer Explain the content of the video in detail", "files": ["examples/breakfast.mp4"]}],
|
36 |
[{"text": "@video-infer Describe the video", "files": ["examples/Missing.mp4"]}],
|
37 |
[{"text": "@video-infer Explain what is happening in this video ?", "files": ["examples/oreo.mp4"]}],
|
38 |
[{"text": "@video-infer Summarize the events in this video", "files": ["examples/sky.mp4"]}],
|
39 |
[{"text": "@video-infer What is in the video ?", "files": ["examples/redlight.mp4"]}],
|
40 |
+
[{"text": "Transcription of the letter", "files": ["examples/222.png"]}],
|
41 |
+
|
42 |
]
|
43 |
|
44 |
# Helper: Downsample video to extract a fixed number of frames.
|