crcdng commited on
Commit
c68ccd9
1 Parent(s): fbd3a33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -15,8 +15,9 @@ asr_pipe = pipeline("automatic-speech-recognition", model="openai/whisper-base",
15
  processor = SpeechT5Processor.from_pretrained("microsoft/speecht5_tts")
16
 
17
  # model = SpeechT5ForTextToSpeech.from_pretrained("microsoft/speecht5_tts").to(device)
18
- # model = VitsModel.from_pretrained("Matthijs/mms-tts-nld").to(device)
19
- # tokenizer = VitsTokenizer.from_pretrained("Matthijs/mms-tts-nld").to(device)
 
20
 
21
  vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan").to(device)
22
 
 
15
  processor = SpeechT5Processor.from_pretrained("microsoft/speecht5_tts")
16
 
17
  # model = SpeechT5ForTextToSpeech.from_pretrained("microsoft/speecht5_tts").to(device)
18
+
19
+ model = VitsModel.from_pretrained("Matthijs/mms-tts-nld").to(device)
20
+ tokenizer = VitsTokenizer.from_pretrained("Matthijs/mms-tts-nld").to(device)
21
 
22
  vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan").to(device)
23