Spaces:
Sleeping
Sleeping
Commit
·
9cbe885
1
Parent(s):
3013c8f
updates
Browse files
app.py
CHANGED
@@ -76,22 +76,21 @@ def translate(video_file):
|
|
76 |
|
77 |
# Gradio App config
|
78 |
title = "ASL Translation (MoViNet + T5)"
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
examples = [
|
80 |
-
["videos/My_second_ASL_professors_name_was_Will_White.mp4"],
|
81 |
-
['videos/You_are_my_sunshine.mp4'],
|
82 |
-
['videos/scrub_your_hands_for_at_least_20_seconds.mp4'],
|
83 |
-
['videos/no.mp4'],
|
84 |
-
['videos/all.mp4'],
|
85 |
-
['videos/white.mp4'],
|
86 |
]
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
# ['videos/before.mp4', 'before'],
|
91 |
-
# ['videos/blue.mp4', 'blue'],
|
92 |
-
# ['videos/no.mp4', 'no'],
|
93 |
-
# ['videos/accident2.mp4', 'accident']
|
94 |
-
# ]
|
95 |
|
96 |
# Gradio App interface
|
97 |
gr.Interface(fn=translate,
|
|
|
76 |
|
77 |
# Gradio App config
|
78 |
title = "ASL Translation (MoViNet + T5)"
|
79 |
+
description = "Gradio demo of word-level sign language classification using I3D model pretrained on the WLASL video dataset. " \
|
80 |
+
"WLASL is a large-scale dataset containing more than 2000 words in American Sign Language. " \
|
81 |
+
"Examples used in the demo are videos from the the test subset. " \
|
82 |
+
"Note that WLASL100 contains 100 words while WLASL2000 contains 2000."
|
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 |
]
|
91 |
+
|
92 |
+
|
93 |
+
article = "More information about the models can be found <a href=https://github.com/deanna-emery/ASL-Translator>here</a>."
|
|
|
|
|
|
|
|
|
|
|
94 |
|
95 |
# Gradio App interface
|
96 |
gr.Interface(fn=translate,
|