reach-vb HF staff commited on
Commit
59ccf64
1 Parent(s): e7fc53d

Update README.md

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