ArissBandoss commited on
Commit
20a6b7b
·
verified ·
1 Parent(s): a954412

Update goai_helpers/goai_traduction.py

Browse files
Files changed (1) hide show
  1. goai_helpers/goai_traduction.py +4 -0
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)