reach-vb HF staff commited on
Commit
83c1dc6
1 Parent(s): 50c47e2

Update README.md

Browse files
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
  ```