Spaces:
Build error
Build error
Commit
·
3d4b6fc
1
Parent(s):
bbdcc05
additional commits
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def get_translation(source_sentence,type_=2):
|
|
41 |
type_=2 tells joeynmt translate that it should expect a sentence.
|
42 |
'''
|
43 |
|
44 |
-
pred = translate(params,
|
45 |
return pred[0]
|
46 |
|
47 |
|
|
|
41 |
type_=2 tells joeynmt translate that it should expect a sentence.
|
42 |
'''
|
43 |
|
44 |
+
pred = translate(params,source_sentence,2)
|
45 |
return pred[0]
|
46 |
|
47 |
|