Spaces:
Runtime error
Runtime error
demo
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import torch
|
|
| 6 |
|
| 7 |
from transformers import pipeline
|
| 8 |
|
| 9 |
-
synthesiser = pipeline("text-to-speech", "techiaith/microsoft_speecht5_finetuned_bu_tts_cy_en")
|
| 10 |
synthesiser.to('cuda')
|
| 11 |
|
| 12 |
speaker_embeddings = {
|
|
|
|
| 6 |
|
| 7 |
from transformers import pipeline
|
| 8 |
|
| 9 |
+
synthesiser = pipeline("text-to-speech", "techiaith/microsoft_speecht5_finetuned_bu_tts_cy_en", from_tf=True)
|
| 10 |
synthesiser.to('cuda')
|
| 11 |
|
| 12 |
speaker_embeddings = {
|