Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ model = SpeechT5ForTextToSpeech.from_pretrained("microsoft/speecht5_tts")
|
|
24 |
processor = SpeechT5Processor.from_pretrained("microsoft/speecht5_tts")
|
25 |
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
|
26 |
|
27 |
-
speaker_embeddings = np.load("cmu_us_slt_arctic-wav-
|
28 |
speaker_embeddings = torch.tensor(speaker_embeddings).unsqueeze(0)
|
29 |
|
30 |
text = st.text_area("Type your text..")
|
|
|
24 |
processor = SpeechT5Processor.from_pretrained("microsoft/speecht5_tts")
|
25 |
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
|
26 |
|
27 |
+
speaker_embeddings = np.load("cmu_us_slt_arctic-wav-arctic_a0508.npy")
|
28 |
speaker_embeddings = torch.tensor(speaker_embeddings).unsqueeze(0)
|
29 |
|
30 |
text = st.text_area("Type your text..")
|