Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ import soundfile as sf
|
|
7 |
import os
|
8 |
|
9 |
# Load model directly
|
10 |
-
processor = AutoProcessor.from_pretrained("
|
11 |
-
model = AutoModelForTextToSpectrogram.from_pretrained("
|
12 |
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
|
13 |
|
14 |
# Load xvector containing speaker's voice characteristics from a dataset
|
|
|
7 |
import os
|
8 |
|
9 |
# Load model directly
|
10 |
+
processor = AutoProcessor.from_pretrained("ayush2607/speecht5_tts_technical_data")
|
11 |
+
model = AutoModelForTextToSpectrogram.from_pretrained("ayush2607/speecht5_tts_technical_data")
|
12 |
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
|
13 |
|
14 |
# Load xvector containing speaker's voice characteristics from a dataset
|