Spaces:
Runtime error
Runtime error
deanna-emery
commited on
Commit
·
aa022a4
1
Parent(s):
d6c8529
updates
Browse files
app.py
CHANGED
@@ -74,14 +74,23 @@ def translate(video_file):
|
|
74 |
title = "ASL Translation (MoViNet + T5)"
|
75 |
|
76 |
examples = [
|
77 |
-
["videos/My_second_ASL_professors_name_was_Will_White.mp4",
|
78 |
-
['videos/You_are_my_sunshine.mp4'
|
79 |
-
['videos/scrub_your_hands_for_at_least_20_seconds.mp4'
|
80 |
-
['videos/no.mp4'
|
81 |
-
['videos/all.mp4'
|
82 |
-
['videos/white.mp4'
|
83 |
]
|
84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
description = "Gradio demo of word-level sign language classification using I3D model pretrained on the WLASL video dataset. " \
|
86 |
"WLASL is a large-scale dataset containing more than 2000 words in American Sign Language. " \
|
87 |
"Examples used in the demo are videos from the the test subset. " \
|
|
|
74 |
title = "ASL Translation (MoViNet + T5)"
|
75 |
|
76 |
examples = [
|
77 |
+
["videos/My_second_ASL_professors_name_was_Will_White.mp4",],
|
78 |
+
['videos/You_are_my_sunshine.mp4'],
|
79 |
+
['videos/scrub_your_hands_for_at_least_20_seconds.mp4'],
|
80 |
+
['videos/no.mp4'],
|
81 |
+
['videos/all.mp4']
|
82 |
+
['videos/white.mp4']
|
83 |
]
|
84 |
|
85 |
+
# examples = [
|
86 |
+
# ["videos/My_second_ASL_professors_name_was_Will_White.mp4", "My second ASL professor's name was Will White"],
|
87 |
+
# ['videos/You_are_my_sunshine.mp4', 'You are my sunshine'],
|
88 |
+
# ['videos/scrub_your_hands_for_at_least_20_seconds.mp4', 'scrub your hands for at least 20 seconds'],
|
89 |
+
# ['videos/no.mp4', 'no'],
|
90 |
+
# ['videos/all.mp4', 'all']
|
91 |
+
# ['videos/white.mp4', 'white']
|
92 |
+
# ]
|
93 |
+
|
94 |
description = "Gradio demo of word-level sign language classification using I3D model pretrained on the WLASL video dataset. " \
|
95 |
"WLASL is a large-scale dataset containing more than 2000 words in American Sign Language. " \
|
96 |
"Examples used in the demo are videos from the the test subset. " \
|