snakers4 / silero-vad

Silero VAD: pre-trained enterprise-grade Voice Activity Detector
MIT License
4.48k stars 437 forks source link

After release of silero-mini, colab examples became outdated #56

Closed narekvslife closed 3 years ago

narekvslife commented 3 years ago

After the release of silero-mini, you added a new function to the utils_vad.py, which made the following piece of code invalid. Raising 'Too many values to unpack' Exception

(get_speech_ts,
 _, read_audio,
 _, _, _) = utils

It should be the following instead:

(get_speech_ts,
 _, _,
read_audio,
 _, _, _) = utils

This is true for all examples.

snakers4 commented 3 years ago

@adamnsandle

plz check

adamnsandle commented 3 years ago

Will fix collab examples asap

snakers4 commented 3 years ago

@narekvslife Please check that this solves your problem https://github.com/snakers4/silero-vad/pull/60

narekvslife commented 3 years ago

@snakers4 It does, thank you!