Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import torch
|
|
3 |
from datasets import load_dataset
|
4 |
from transformers import SpeechT5Processor, SpeechT5HifiGan, SpeechT5ForTextToSpeech
|
5 |
|
6 |
-
model_id = "ovieyra21/
|
7 |
model = SpeechT5ForTextToSpeech.from_pretrained(model_id)
|
8 |
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
|
9 |
embeddings_dataset = load_dataset("Matthijs/cmu-arctic-xvectors", split="validation")
|
|
|
3 |
from datasets import load_dataset
|
4 |
from transformers import SpeechT5Processor, SpeechT5HifiGan, SpeechT5ForTextToSpeech
|
5 |
|
6 |
+
model_id = "ovieyra21/speecht5_tts_mabama_nl" # update with your model id
|
7 |
model = SpeechT5ForTextToSpeech.from_pretrained(model_id)
|
8 |
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
|
9 |
embeddings_dataset = load_dataset("Matthijs/cmu-arctic-xvectors", split="validation")
|