Commit
•
7063a1b
1
Parent(s):
645cfba
Update README.md (#2)
Browse files- Update README.md (62e35d464ce581ff74de0739a16696ef7d9ee9df)
Co-authored-by: ISWAR PATEL <iswarpatel@users.noreply.huggingface.co>
README.md
CHANGED
@@ -109,7 +109,7 @@ Or save them as a `.wav` file using a third-party library, e.g. `scipy`:
|
|
109 |
```python
|
110 |
import scipy
|
111 |
|
112 |
-
sampling_rate = model.
|
113 |
scipy.io.wavfile.write("bark_out.wav", rate=sampling_rate, data=speech_values.cpu().numpy().squeeze())
|
114 |
```
|
115 |
|
|
|
109 |
```python
|
110 |
import scipy
|
111 |
|
112 |
+
sampling_rate = model.generation_config.sample_rate
|
113 |
scipy.io.wavfile.write("bark_out.wav", rate=sampling_rate, data=speech_values.cpu().numpy().squeeze())
|
114 |
```
|
115 |
|