Sandiago21
commited on
Commit
•
a6faff0
1
Parent(s):
7b8b4cf
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -18,8 +18,7 @@ vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
|
|
18 |
embeddings_dataset = load_dataset("Matthijs/cmu-arctic-xvectors", split="validation")
|
19 |
speaker_embeddings = torch.tensor(embeddings_dataset[7440]["xvector"]).unsqueeze(0)
|
20 |
|
21 |
-
|
22 |
-
processor = SpeechT5Processor.from_pretrained(checkpoint)
|
23 |
|
24 |
replacements = [
|
25 |
("á", "a"),
|
|
|
18 |
embeddings_dataset = load_dataset("Matthijs/cmu-arctic-xvectors", split="validation")
|
19 |
speaker_embeddings = torch.tensor(embeddings_dataset[7440]["xvector"]).unsqueeze(0)
|
20 |
|
21 |
+
processor = SpeechT5Processor.from_pretrained(model_id)
|
|
|
22 |
|
23 |
replacements = [
|
24 |
("á", "a"),
|