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