Update README.md

#9
by reach-vb HF staff - opened
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
  ```