Spaces:
Build error
Build error
Commit
·
2f54e99
1
Parent(s):
8804405
additional commits
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def load_model(source_language_,target_language_):
|
|
51 |
return params
|
52 |
|
53 |
#Using global params for English and Swahili to save time taken to load them
|
54 |
-
params = load_model('English','Swahili')
|
55 |
|
56 |
def get_translation(source_language,target_language,source_sentence=None,source_file=None):
|
57 |
'''
|
|
|
51 |
return params
|
52 |
|
53 |
#Using global params for English and Swahili to save time taken to load them
|
54 |
+
params = load_model('English','Swahili')
|
55 |
|
56 |
def get_translation(source_language,target_language,source_sentence=None,source_file=None):
|
57 |
'''
|