Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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")
|
20 |
-
tokenizer = VitsTokenizer.from_pretrained("Matthijs/mms-tts-nld")
|
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 |
|