deanna-emery commited on
Commit
aa022a4
·
1 Parent(s): d6c8529
Files changed (1) hide show
  1. app.py +15 -6
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", "My second ASL professor's name was Will White"],
78
- ['videos/You_are_my_sunshine.mp4', 'You are my sunshine'],
79
- ['videos/scrub_your_hands_for_at_least_20_seconds.mp4', 'scrub your hands for at least 20 seconds'],
80
- ['videos/no.mp4', 'no'],
81
- ['videos/all.mp4', 'all']
82
- ['videos/white.mp4', 'white']
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. " \