Update goai_helpers/goai_traduction.py
Browse files
goai_helpers/goai_traduction.py
CHANGED
@@ -33,3 +33,7 @@ def goai_traduction(text, src_lang, tgt_lang):
|
|
33 |
)
|
34 |
|
35 |
return trans_pipe(text)[0]["translation_text"]
|
|
|
|
|
|
|
|
|
|
33 |
)
|
34 |
|
35 |
return trans_pipe(text)[0]["translation_text"]
|
36 |
+
|
37 |
+
|
38 |
+
def real_time_traduction(input_text, src_lang, tgt_lang):
|
39 |
+
return goai_traduction(input_text, src_lang, tgt_lang)
|