Files changed (1) hide show
  1. README.md +1 -1
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.config.sample_rate
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