artificialguybr josh-r-meyer commited on
Commit
8ae6d76
β€’
1 Parent(s): 83015b3

upgrade to newest XTTS (#8)

Browse files

- upgrade to newest XTTS (cce3563ca3ee76904df8f0779f7c93e8dc516400)


Co-authored-by: josh meyer <josh-r-meyer@users.noreply.huggingface.co>

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