herwoww commited on
Commit
2447dfa
โ€ข
1 Parent(s): 4bbb864

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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"], speaker_embeddings, vocoder=vocoder)
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
  ```