Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ embeddings_dataset = load_dataset("Matthijs/cmu-arctic-xvectors", split="validat
|
|
11 |
speaker_embeddings = torch.tensor(embeddings_dataset[7440]["xvector"]).unsqueeze(0)
|
12 |
|
13 |
# checkpoint = "microsoft/speecht5_tts"
|
14 |
-
processor =
|
15 |
|
16 |
replacements = [
|
17 |
("à", "a"),
|
|
|
11 |
speaker_embeddings = torch.tensor(embeddings_dataset[7440]["xvector"]).unsqueeze(0)
|
12 |
|
13 |
# checkpoint = "microsoft/speecht5_tts"
|
14 |
+
processor = SpeechT5Processor.from_pretrained(model_id)
|
15 |
|
16 |
replacements = [
|
17 |
("à", "a"),
|