Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,12 +10,12 @@ from transformers import SpeechT5Processor, SpeechT5ForTextToSpeech, SpeechT5Hif
|
|
10 |
|
11 |
checkpoint = "microsoft/speecht5_tts"
|
12 |
processor = SpeechT5Processor.from_pretrained(checkpoint)
|
13 |
-
model = SpeechT5ForTextToSpeech.from_pretrained(
|
14 |
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
|
15 |
|
16 |
|
17 |
speaker_embeddings = {
|
18 |
-
"BDL": "
|
19 |
}
|
20 |
|
21 |
import pandas as pd
|
|
|
10 |
|
11 |
checkpoint = "microsoft/speecht5_tts"
|
12 |
processor = SpeechT5Processor.from_pretrained(checkpoint)
|
13 |
+
model = SpeechT5ForTextToSpeech.from_pretrained("Edmon02/speecht5_finetuned_voxpopuli_hy")
|
14 |
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
|
15 |
|
16 |
|
17 |
speaker_embeddings = {
|
18 |
+
"BDL": "cmu_us_bdl_arctic-wav-arctic_a0009.npy",
|
19 |
}
|
20 |
|
21 |
import pandas as pd
|