georg-suno reach-vb HF staff commited on
Commit
50f0cdb
1 Parent(s): 50c47e2

Update README.md (#9)

Browse files

- Update README.md (83c1dc699adf26b4360fb8ed8124f782c2fc9b4c)


Co-authored-by: Vaibhav Srivastav <reach-vb@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -84,7 +84,7 @@ import scipy
84
 
85
  synthesiser = pipeline("text-to-speech", "suno/bark-small")
86
 
87
- speech = pipe("Hello, my dog is cooler than you!", forward_params={"do_sample": True})
88
 
89
  scipy.io.wavfile.write("bark_out.wav", rate=speech["sampling_rate"], data=speech["audio"])
90
  ```
 
84
 
85
  synthesiser = pipeline("text-to-speech", "suno/bark-small")
86
 
87
+ speech = synthesiser("Hello, my dog is cooler than you!", forward_params={"do_sample": True})
88
 
89
  scipy.io.wavfile.write("bark_out.wav", rate=speech["sampling_rate"], data=speech["audio"])
90
  ```