speechbrainteam
commited on
Commit
•
5d7c18e
1
Parent(s):
a934384
Update README.md
Browse files
README.md
CHANGED
@@ -120,7 +120,7 @@ from speechbrain.inference.VAD import VAD
|
|
120 |
VAD = VAD.from_hparams(source="speechbrain/vad-crdnn-libriparty", savedir="pretrained_models/vad-crdnn-libriparty")
|
121 |
|
122 |
# 1- Let's compute frame-level posteriors first
|
123 |
-
audio_file = '
|
124 |
prob_chunks = VAD.get_speech_prob_file(audio_file)
|
125 |
|
126 |
# 2- Let's apply a threshold on top of the posteriors
|
|
|
120 |
VAD = VAD.from_hparams(source="speechbrain/vad-crdnn-libriparty", savedir="pretrained_models/vad-crdnn-libriparty")
|
121 |
|
122 |
# 1- Let's compute frame-level posteriors first
|
123 |
+
audio_file = 'pretrained_models/vad-crdnn-libriparty/example_vad.wav'
|
124 |
prob_chunks = VAD.get_speech_prob_file(audio_file)
|
125 |
|
126 |
# 2- Let's apply a threshold on top of the posteriors
|