Update app.py
Browse files
app.py
CHANGED
|
@@ -7,8 +7,8 @@ import torch
|
|
| 7 |
from speechbrain.pretrained import EncoderClassifier
|
| 8 |
from transformers import AutoProcessor, AutoModelForTextToSpectrogram, SpeechT5HifiGan
|
| 9 |
|
| 10 |
-
processor = AutoProcessor.from_pretrained("
|
| 11 |
-
model = AutoModelForTextToSpectrogram.from_pretrained("
|
| 12 |
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
|
| 13 |
|
| 14 |
|
|
|
|
| 7 |
from speechbrain.pretrained import EncoderClassifier
|
| 8 |
from transformers import AutoProcessor, AutoModelForTextToSpectrogram, SpeechT5HifiGan
|
| 9 |
|
| 10 |
+
processor = AutoProcessor.from_pretrained("microsoft/speecht5_tts")
|
| 11 |
+
model = AutoModelForTextToSpectrogram.from_pretrained("microsoft/speecht5_tts")
|
| 12 |
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
|
| 13 |
|
| 14 |
|