mshukor
commited on
Commit
•
fe96ccb
1
Parent(s):
f47ae87
fix
Browse files- app.py +2 -3
- examples/images/banana.jpg +0 -0
- examples/images/street_sign.jpg +0 -0
- examples/images/woman_inblack.jpg +0 -0
app.py
CHANGED
@@ -473,15 +473,14 @@ inputs = [gr.inputs.Image(type='pil'), gr.Audio(source="upload", type="filepath"
|
|
473 |
outputs = [gr.outputs.Image(type='pil'), 'text']
|
474 |
examples = [
|
475 |
['examples/images/soccer.jpg', None, None, 'Image Captioning', None],
|
476 |
-
['examples/images/
|
477 |
['examples/images/banana.jpg', None, None, 'Visual Grounding', 'the detached banana'],
|
478 |
['examples/images/skateboard.jpg', None, None, 'General', 'which region does the text " a yellow bird " describe?'],
|
479 |
-
['examples/images/baseball.jpg', None, None, 'General', 'what
|
480 |
[None, None, 'examples/videos/video7014.mp4', 'Video Captioning', None],
|
481 |
[None, None, 'examples/videos/video7017.mp4', 'Video Captioning', None],
|
482 |
[None, None, 'examples/videos/video7019.mp4', 'Video Captioning', None],
|
483 |
[None, None, 'examples/videos/video7021.mp4', 'Video Captioning', None],
|
484 |
-
[None, None, 'examples/videos/video7021.mp4', 'General Video', "What is this sport?"],
|
485 |
[None, 'examples/audios/6cS0FsUM-cQ.wav', None, 'Audio Captioning', None],
|
486 |
[None, 'examples/audios/AJtNitYMa1I.wav', None, 'Audio Captioning', None],
|
487 |
]
|
|
|
473 |
outputs = [gr.outputs.Image(type='pil'), 'text']
|
474 |
examples = [
|
475 |
['examples/images/soccer.jpg', None, None, 'Image Captioning', None],
|
476 |
+
['examples/images/woman_inblack.jpg', None, None, 'Visual Question Answering', 'what does the woman wearing black do?'],
|
477 |
['examples/images/banana.jpg', None, None, 'Visual Grounding', 'the detached banana'],
|
478 |
['examples/images/skateboard.jpg', None, None, 'General', 'which region does the text " a yellow bird " describe?'],
|
479 |
+
['examples/images/baseball.jpg', None, None, 'General', 'what is this sport?'],
|
480 |
[None, None, 'examples/videos/video7014.mp4', 'Video Captioning', None],
|
481 |
[None, None, 'examples/videos/video7017.mp4', 'Video Captioning', None],
|
482 |
[None, None, 'examples/videos/video7019.mp4', 'Video Captioning', None],
|
483 |
[None, None, 'examples/videos/video7021.mp4', 'Video Captioning', None],
|
|
|
484 |
[None, 'examples/audios/6cS0FsUM-cQ.wav', None, 'Audio Captioning', None],
|
485 |
[None, 'examples/audios/AJtNitYMa1I.wav', None, 'Audio Captioning', None],
|
486 |
]
|
examples/images/banana.jpg
CHANGED
examples/images/street_sign.jpg
ADDED
examples/images/woman_inblack.jpg
ADDED