josh-r-meyer commited on
Commit
cce3563
1 Parent(s): 83015b3

upgrade to newest XTTS

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ def process_video(radio, video, target_language, has_closeup_face):
105
  translated_text = translator.translate(whisper_text, src=whisper_language, dest=target_language_code).text
106
  print(translated_text)
107
 
108
- tts = TTS("tts_models/multilingual/multi-dataset/xtts_v1")
109
  tts.to('cuda')
110
  tts.tts_to_file(translated_text, speaker_wav=f"{run_uuid}_output_audio_final.wav", file_path=f"{run_uuid}_output_synth.wav", language=target_language_code)
111
 
 
105
  translated_text = translator.translate(whisper_text, src=whisper_language, dest=target_language_code).text
106
  print(translated_text)
107
 
108
+ tts = TTS("tts_models/multilingual/multi-dataset/xtts_v1.1")
109
  tts.to('cuda')
110
  tts.tts_to_file(translated_text, speaker_wav=f"{run_uuid}_output_audio_final.wav", file_path=f"{run_uuid}_output_synth.wav", language=target_language_code)
111