Spaces:
Build error
Build error
Commit
·
bbdcc05
1
Parent(s):
5051968
additional commits
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def get_translation(source_sentence,type_=2):
|
|
42 |
'''
|
43 |
|
44 |
pred = translate(params,source_language,2)
|
45 |
-
return pred
|
46 |
|
47 |
|
48 |
title = "Interact with Masakhane Benchmark Models"
|
|
|
42 |
'''
|
43 |
|
44 |
pred = translate(params,source_language,2)
|
45 |
+
return pred[0]
|
46 |
|
47 |
|
48 |
title = "Interact with Masakhane Benchmark Models"
|