Update README.md
Browse files
README.md
CHANGED
@@ -86,7 +86,7 @@ import scipy
|
|
86 |
|
87 |
synthesiser = pipeline("text-to-speech", "suno/bark")
|
88 |
|
89 |
-
speech =
|
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 |
```
|