Spaces:
Runtime error
Runtime error
deanna-emery
commited on
Commit
·
788178f
1
Parent(s):
99d014f
updates
Browse files
app.py
CHANGED
@@ -95,18 +95,11 @@ examples = [
|
|
95 |
['videos/You_are_my_sunshine.mp4', 'You are my sunshine'],
|
96 |
['videos/scrub_your_hands_for_at_least_20_seconds.mp4', 'scrub your hands for at least 20 seconds'],
|
97 |
['videos/no.mp4', 'no'],
|
98 |
-
["videos/
|
99 |
["videos/north_dakota_they_dont_need.mp4","... north dakota they don't need ..."],
|
100 |
]
|
101 |
|
102 |
|
103 |
-
article = """The captions for the example videos are as follows in order: \n
|
104 |
-
1. 'My second ASL professor's name was Will White'
|
105 |
-
2. 'You are my sunshine'
|
106 |
-
3. 'scrub your hands for at least 20 seconds'
|
107 |
-
4. 'no'
|
108 |
-
"""
|
109 |
-
|
110 |
# Gradio App interface
|
111 |
gr.Interface(fn=translate,
|
112 |
inputs=[gr.Video(label='Video', show_label=True, max_length=10, sources='upload'),
|
|
|
95 |
['videos/You_are_my_sunshine.mp4', 'You are my sunshine'],
|
96 |
['videos/scrub_your_hands_for_at_least_20_seconds.mp4', 'scrub your hands for at least 20 seconds'],
|
97 |
['videos/no.mp4', 'no'],
|
98 |
+
["videos/i_feel_rejuvenated_by_this_beautiful_weather.mp4","I feel rejuvenated by this beautiful weather"],
|
99 |
["videos/north_dakota_they_dont_need.mp4","... north dakota they don't need ..."],
|
100 |
]
|
101 |
|
102 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
# Gradio App interface
|
104 |
gr.Interface(fn=translate,
|
105 |
inputs=[gr.Video(label='Video', show_label=True, max_length=10, sources='upload'),
|