Update utils_vad.py

This commit is contained in:
Alexander Veysov
2024-02-16 10:55:47 +03:00
committed by GitHub
parent 48b7c742dd
commit 797a88a386

View File

@@ -122,7 +122,7 @@ class Validator():
def read_audio(path: str,
sampling_rate: int = 16000):
if 'sox' in torchaudio.list_audio_backends():
if 'sox_io' in torchaudio.list_audio_backends():
effects = [
['channels', '1'],
['rate', str(sampling_rate)]