Update goai_helpers/goai_traduction.py
Browse files
goai_helpers/goai_traduction.py
CHANGED
|
@@ -42,7 +42,8 @@ def goai_traduction(text, src_lang, tgt_lang):
|
|
| 42 |
|
| 43 |
# Décodage de la sortie
|
| 44 |
translation = tokenizer.batch_decode(outputs, skip_special_tokens=True)[0]
|
| 45 |
-
|
|
|
|
| 46 |
return translation
|
| 47 |
|
| 48 |
|
|
|
|
| 42 |
|
| 43 |
# Décodage de la sortie
|
| 44 |
translation = tokenizer.batch_decode(outputs, skip_special_tokens=True)[0]
|
| 45 |
+
print("ici translation")
|
| 46 |
+
print(translation)
|
| 47 |
return translation
|
| 48 |
|
| 49 |
|