crcdng commited on
Commit
e42c670
1 Parent(s): dad3084

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,8 +16,8 @@ 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
 
 
16
 
17
  # model = SpeechT5ForTextToSpeech.from_pretrained("microsoft/speecht5_tts").to(device)
18
 
19
+ model = VitsModel.from_pretrained("Matthijs/mms-tts-nld")
20
+ tokenizer = VitsTokenizer.from_pretrained("Matthijs/mms-tts-nld")
21
 
22
  vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan").to(device)
23