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