speechbrainteam commited on
Commit
b82b260
1 Parent(s): 5d7c18e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -75,7 +75,7 @@ Please notice that we encourage you to read our tutorials and learn more about
75
  from speechbrain.inference.VAD import VAD
76
 
77
  VAD = VAD.from_hparams(source="speechbrain/vad-crdnn-libriparty", savedir="pretrained_models/vad-crdnn-libriparty")
78
- boundaries = VAD.get_speech_segments("speechbrain/vad-crdnn-libriparty/example_vad.wav")
79
 
80
  # Print the output
81
  VAD.save_boundaries(boundaries)
@@ -93,7 +93,7 @@ To do it:
93
 
94
  ```
95
  import torchaudio
96
- upsampled_boundaries = VAD.upsample_boundaries(boundaries, 'pretrained_model_checkpoints/example_vad.wav')
97
  torchaudio.save('vad_final.wav', upsampled_boundaries.cpu(), 16000)
98
  ```
99
 
 
75
  from speechbrain.inference.VAD import VAD
76
 
77
  VAD = VAD.from_hparams(source="speechbrain/vad-crdnn-libriparty", savedir="pretrained_models/vad-crdnn-libriparty")
78
+ boundaries = VAD.get_speech_segments("example_vad.wav")
79
 
80
  # Print the output
81
  VAD.save_boundaries(boundaries)
 
93
 
94
  ```
95
  import torchaudio
96
+ upsampled_boundaries = VAD.upsample_boundaries(boundaries, 'example_vad.wav')
97
  torchaudio.save('vad_final.wav', upsampled_boundaries.cpu(), 16000)
98
  ```
99