Spaces:
Build error
Build error
Commit
·
16dd818
1
Parent(s):
b605eca
additional commits
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ parsed_yaml_file['data']['trg_vocab']=trg_vocab
|
|
35 |
|
36 |
params = load_params_for_prediction(parsed_yaml_file,best_ckpt)
|
37 |
|
38 |
-
def get_translation(source_sentence,type_=2)
|
39 |
'''
|
40 |
This takes a sentence and gets the translation.
|
41 |
type_=2 tells joeynmt translate that it should expect a sentence.
|
|
|
35 |
|
36 |
params = load_params_for_prediction(parsed_yaml_file,best_ckpt)
|
37 |
|
38 |
+
def get_translation(source_sentence,type_=2):
|
39 |
'''
|
40 |
This takes a sentence and gets the translation.
|
41 |
type_=2 tells joeynmt translate that it should expect a sentence.
|