Spaces:
Runtime error
Runtime error
anyantudre
commited on
Update goai_tts2.py
Browse files
goai_helpers/goai_tts2.py
CHANGED
@@ -19,7 +19,7 @@ from TTS.tts.models.xtts import Xtts
|
|
19 |
from resemble_enhance.enhancer.inference import denoise, enhance
|
20 |
from flore200_codes import flores_codes
|
21 |
from goai_helpers.utils import download_file, diviser_phrases_moore, enhance_speech
|
22 |
-
import goai_traduction
|
23 |
|
24 |
# authentification
|
25 |
auth_token = os.getenv('HF_SPACE_TOKEN')
|
@@ -310,4 +310,4 @@ def goai_ttt_tts(
|
|
310 |
denoise_before_enhancement
|
311 |
)
|
312 |
|
313 |
-
yield mos_text, (sampling_rate, audio_array.numpy()), denoised_audio, enhanced_audio
|
|
|
19 |
from resemble_enhance.enhancer.inference import denoise, enhance
|
20 |
from flore200_codes import flores_codes
|
21 |
from goai_helpers.utils import download_file, diviser_phrases_moore, enhance_speech
|
22 |
+
from goai_helpers.goai_traduction import goai_traduction
|
23 |
|
24 |
# authentification
|
25 |
auth_token = os.getenv('HF_SPACE_TOKEN')
|
|
|
310 |
denoise_before_enhancement
|
311 |
)
|
312 |
|
313 |
+
yield mos_text, (sampling_rate, audio_array.numpy()), denoised_audio, enhanced_audio
|