jalal-elzein commited on
Commit
b3188a4
·
1 Parent(s): cd2c451

FIX: processor source

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