Spaces:
Runtime error
Runtime error
deanna-emery
commited on
Commit
·
2a0abe4
1
Parent(s):
9a13e28
updates
Browse files
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:
|
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)"
|