demo
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ import torch
|
|
7 |
from transformers import pipeline
|
8 |
|
9 |
synthesiser = pipeline("text-to-speech", "techiaith/microsoft_speecht5_finetuned_bu_tts_cy_en")
|
|
|
10 |
|
11 |
speaker_embeddings = {
|
12 |
"GGP": "spkemb/speaker0.npy",
|
|
|
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 = {
|
13 |
"GGP": "spkemb/speaker0.npy",
|