ovieyra21 commited on
Commit
40a0f41
β€’
1 Parent(s): 636c11b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ asr_pipe = pipeline("automatic-speech-recognition", model="openai/whisper-base",
13
 
14
 
15
  # load text-to-speech checkpoint and speaker embeddings
16
- processor = SpeechT5Processor.from_pretrained("microsoft/speecht5_tts")
17
 
18
  model = SpeechT5ForTextToSpeech.from_pretrained("JSimaj7337/speecht5_tts_voxpopuli_es").to(device)
19
  vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan").to(device)
 
13
 
14
 
15
  # load text-to-speech checkpoint and speaker embeddings
16
+ processor = SpeechT5Processor.from_pretrained("facebook/mms-tts-spa")
17
 
18
  model = SpeechT5ForTextToSpeech.from_pretrained("JSimaj7337/speecht5_tts_voxpopuli_es").to(device)
19
  vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan").to(device)