Update README.md
Browse files
README.md
CHANGED
@@ -60,7 +60,7 @@ inputs = processor(text="ูุฃูู ูุง ูุฑู ุฃูู ุนูู ุงูุณูู ุซู
ู
ู
|
|
60 |
embeddings_dataset = load_dataset("herwoww/arabic_xvector_embeddings", split="validation")
|
61 |
speaker_embedding = torch.tensor(embeddings_dataset[105]["speaker_embeddings"]).unsqueeze(0)
|
62 |
|
63 |
-
speech = model.generate_speech(inputs["input_ids"],
|
64 |
|
65 |
sf.write("speech.wav", speech.numpy(), samplerate=16000)
|
66 |
```
|
|
|
60 |
embeddings_dataset = load_dataset("herwoww/arabic_xvector_embeddings", split="validation")
|
61 |
speaker_embedding = torch.tensor(embeddings_dataset[105]["speaker_embeddings"]).unsqueeze(0)
|
62 |
|
63 |
+
speech = model.generate_speech(inputs["input_ids"], speaker_embedding, vocoder=vocoder)
|
64 |
|
65 |
sf.write("speech.wav", speech.numpy(), samplerate=16000)
|
66 |
```
|