demo
Browse files- app.py +1 -1
- requirements.txt +1 -0
app.py
CHANGED
@@ -8,7 +8,7 @@ from transformers import SpeechT5ForTextToSpeech, SpeechT5Processor, SpeechT5Hif
|
|
8 |
|
9 |
checkpoint = "microsoft/speecht5_tts"
|
10 |
processor = SpeechT5Processor.from_pretrained(checkpoint)
|
11 |
-
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan"
|
12 |
model = SpeechT5ForTextToSpeech.from_pretrained("techiaith/microsoft_speecht5_finetuned_bu_tts_cy_en")
|
13 |
|
14 |
speaker_embeddings = {
|
|
|
8 |
|
9 |
checkpoint = "microsoft/speecht5_tts"
|
10 |
processor = SpeechT5Processor.from_pretrained(checkpoint)
|
11 |
+
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
|
12 |
model = SpeechT5ForTextToSpeech.from_pretrained("techiaith/microsoft_speecht5_finetuned_bu_tts_cy_en")
|
13 |
|
14 |
speaker_embeddings = {
|
requirements.txt
CHANGED
@@ -7,3 +7,4 @@ samplerate
|
|
7 |
resampy
|
8 |
sentencepiece
|
9 |
accelerate
|
|
|
|
7 |
resampy
|
8 |
sentencepiece
|
9 |
accelerate
|
10 |
+
speechbrain
|