ovieyra21 commited on
Commit
3719cbd
β€’
1 Parent(s): 689a010

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,9 +13,9 @@ 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("Sandiago21/speecht5_finetuned_facebook_voxpopuli_spanish")
17
 
18
- model = SpeechT5ForTextToSpeech.from_pretrained("Sandiago21/speecht5_finetuned_facebook_voxpopuli_spanish").to(device)
19
  vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan").to(device)
20
 
21
  embeddings_dataset = load_dataset("Matthijs/cmu-arctic-xvectors", split="validation")
 
13
 
14
 
15
  # load text-to-speech checkpoint and speaker embeddings
16
+ processor = SpeechT5Processor.from_pretrained("ovieyra21/es_speecht5_tts_mabama")
17
 
18
+ model = SpeechT5ForTextToSpeech.from_pretrained("ovieyra21/es_speecht5_tts_mabama").to(device)
19
  vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan").to(device)
20
 
21
  embeddings_dataset = load_dataset("Matthijs/cmu-arctic-xvectors", split="validation")