Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import torch
|
|
6 |
from transformers import AutoProcessor, AutoModelForTextToSpectrogram, SpeechT5HifiGan
|
7 |
processor = AutoProcessor.from_pretrained("Prasada/speecht5_tts_voxpopuli_nl")
|
8 |
model = AutoModelForTextToSpectrogram.from_pretrained("Prasada/speecht5_tts_voxpopuli_nl")
|
9 |
-
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan"
|
10 |
|
11 |
|
12 |
speaker_embeddings = {
|
|
|
6 |
from transformers import AutoProcessor, AutoModelForTextToSpectrogram, SpeechT5HifiGan
|
7 |
processor = AutoProcessor.from_pretrained("Prasada/speecht5_tts_voxpopuli_nl")
|
8 |
model = AutoModelForTextToSpectrogram.from_pretrained("Prasada/speecht5_tts_voxpopuli_nl")
|
9 |
+
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
|
10 |
|
11 |
|
12 |
speaker_embeddings = {
|