edaiofficial commited on
Commit
bbdcc05
·
1 Parent(s): 5051968

additional commits

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"