mirror of
https://github.com/snakers4/silero-vad.git
synced 2026-02-04 17:39:22 +08:00
Update utils_vad.py
This commit is contained in:
@@ -122,7 +122,7 @@ class Validator():
|
||||
def read_audio(path: str,
|
||||
sampling_rate: int = 16000):
|
||||
|
||||
if 'sox' in torchaudio.list_available_backends():
|
||||
if 'sox' in torchaudio.list_audio_backends():
|
||||
effects = [
|
||||
['channels', '1'],
|
||||
['rate', str(sampling_rate)]
|
||||
|
||||
Reference in New Issue
Block a user