Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ asr_pipe = pipeline("automatic-speech-recognition", model="openai/whisper-base",
|
|
17 |
processor = SpeechT5Processor.from_pretrained("vadhri/speecht5_finetuned_voxpopuli_nl")
|
18 |
|
19 |
# model = SpeechT5ForTextToSpeech.from_pretrained("microsoft/speecht5_tts").to(device)
|
20 |
-
model =
|
21 |
|
22 |
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan").to(device)
|
23 |
|
|
|
17 |
processor = SpeechT5Processor.from_pretrained("vadhri/speecht5_finetuned_voxpopuli_nl")
|
18 |
|
19 |
# model = SpeechT5ForTextToSpeech.from_pretrained("microsoft/speecht5_tts").to(device)
|
20 |
+
model = SpeechT5ForTextToSpeech.from_pretrained("vadhri/speecht5_finetuned_voxpopuli_nl").to(device)
|
21 |
|
22 |
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan").to(device)
|
23 |
|