Update xtts_my_model.py
Browse files- xtts_my_model.py +0 -1
xtts_my_model.py
CHANGED
@@ -51,7 +51,6 @@ def run_tts(lang, tts_text, speaker_audio_file):
|
|
51 |
# Remove brackets and quotes
|
52 |
speaker_audio_file = speaker_audio_file.replace("[", "").replace("]", "").replace("'", "")
|
53 |
|
54 |
-
print(speaker_audio_file)
|
55 |
gpt_cond_latent, speaker_embedding = XTTS_MODEL.get_conditioning_latents(audio_path=speaker_audio_file, gpt_cond_len=XTTS_MODEL.config.gpt_cond_len, max_ref_length=XTTS_MODEL.config.max_ref_len, sound_norm_refs=XTTS_MODEL.config.sound_norm_refs)
|
56 |
out = XTTS_MODEL.inference(
|
57 |
text=tts_text,
|
|
|
51 |
# Remove brackets and quotes
|
52 |
speaker_audio_file = speaker_audio_file.replace("[", "").replace("]", "").replace("'", "")
|
53 |
|
|
|
54 |
gpt_cond_latent, speaker_embedding = XTTS_MODEL.get_conditioning_latents(audio_path=speaker_audio_file, gpt_cond_len=XTTS_MODEL.config.gpt_cond_len, max_ref_length=XTTS_MODEL.config.max_ref_len, sound_norm_refs=XTTS_MODEL.config.sound_norm_refs)
|
55 |
out = XTTS_MODEL.inference(
|
56 |
text=tts_text,
|