Spaces:
Runtime error
Runtime error
ANYANTUDRE
commited on
Commit
·
775119b
1
Parent(s):
91e6bb7
fixed goai_traduction has no attribute error
Browse files
goai_helpers/goai_stt_ttt_pipeline.py
CHANGED
@@ -36,7 +36,7 @@ def goai_stt_ttt(
|
|
36 |
yield mos_text, None
|
37 |
|
38 |
# 2. TTT: Translation mos ==> fr
|
39 |
-
fr_text = goai_traduction
|
40 |
mos_text,
|
41 |
src_lang="fra_Latn",
|
42 |
tgt_lang="mos_Latn"
|
|
|
36 |
yield mos_text, None
|
37 |
|
38 |
# 2. TTT: Translation mos ==> fr
|
39 |
+
fr_text = goai_traduction(
|
40 |
mos_text,
|
41 |
src_lang="fra_Latn",
|
42 |
tgt_lang="mos_Latn"
|
goai_helpers/goai_ttt_tts_pipeline.py
CHANGED
@@ -53,7 +53,7 @@ def goai_ttt_tts(
|
|
53 |
):
|
54 |
|
55 |
# 1. TTT: Translation fr ==> mos
|
56 |
-
mos_text = goai_traduction
|
57 |
text,
|
58 |
src_lang="fra_Latn",
|
59 |
tgt_lang="mos_Latn"
|
|
|
53 |
):
|
54 |
|
55 |
# 1. TTT: Translation fr ==> mos
|
56 |
+
mos_text = goai_traduction(
|
57 |
text,
|
58 |
src_lang="fra_Latn",
|
59 |
tgt_lang="mos_Latn"
|