Update utils_vad.py

This commit is contained in:
Alexander Veysov
2024-02-16 10:53:12 +03:00
committed by GitHub
parent af152c18f6
commit c5ec6bae3d

View File

@@ -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)]