deanna-emery commited on
Commit
2a0abe4
·
1 Parent(s): 9a13e28
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def translate(video_file):
72
  translation = tokenizer.batch_decode(tokens, skip_special_tokens=True)
73
 
74
  # Return dict {label:pred}
75
- return "translation: " + translation
76
 
77
  # Gradio App config
78
  title = "ASL Translation (MoViNet + T5)"
 
72
  translation = tokenizer.batch_decode(tokens, skip_special_tokens=True)
73
 
74
  # Return dict {label:pred}
75
+ return {"translation":translation}
76
 
77
  # Gradio App config
78
  title = "ASL Translation (MoViNet + T5)"