deanna-emery commited on
Commit
d6c8529
·
1 Parent(s): 05aaf4d
Files changed (1) hide show
  1. app.py +7 -15
app.py CHANGED
@@ -72,24 +72,16 @@ def translate(video_file):
72
 
73
  # Gradio App config
74
  title = "ASL Translation (MoViNet + T5)"
 
75
  examples = [
76
- ["videos/My second ASL professor's name was Will White.mp4"],
77
- ['videos/You are my sunshine.mp4'],
78
- ['videos/scrub your hands for at least 20 seconds.mp4'],
79
- ['videos/no.mp4'],
80
- ['videos/all.mp4']
81
- ['videos/white.mp4']
82
  ]
83
 
84
- # examples = [
85
- # ["videos/My second ASL professor's name was Will White.mp4", "My second ASL professor's name was Will White"],
86
- # ['videos/You are my sunshine.mp4', 'You are my sunshine'],
87
- # ['videos/scrub your hands for at least 20 seconds.mp4', 'scrub your hands for at least 20 seconds'],
88
- # ['videos/no.mp4', 'no'],
89
- # ['videos/all.mp4', 'all']
90
- # ['videos/white.mp4', 'white']
91
- # ]
92
-
93
  description = "Gradio demo of word-level sign language classification using I3D model pretrained on the WLASL video dataset. " \
94
  "WLASL is a large-scale dataset containing more than 2000 words in American Sign Language. " \
95
  "Examples used in the demo are videos from the the test subset. " \
 
72
 
73
  # Gradio App config
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. " \