Commit
·
53b19e9
1
Parent(s):
d5bb204
Update main_dl.py
Browse files- main_dl.py +1 -0
main_dl.py
CHANGED
@@ -274,6 +274,7 @@ def check_api(lang_tgt:str,
|
|
274 |
texte: str):
|
275 |
global translation_model
|
276 |
|
|
|
277 |
if (lang_tgt=='en'):
|
278 |
translation_model = rnn_fr_en
|
279 |
return decode_sequence_rnn(texte, "en", "fr")
|
|
|
274 |
texte: str):
|
275 |
global translation_model
|
276 |
|
277 |
+
print("texte: ",texte)
|
278 |
if (lang_tgt=='en'):
|
279 |
translation_model = rnn_fr_en
|
280 |
return decode_sequence_rnn(texte, "en", "fr")
|