Update silero.py

This commit is contained in:
tan90xx
2025-01-20 20:01:21 +08:00
committed by GitHub
parent fca563a782
commit acbeba6057

View File

@ -63,4 +63,4 @@ class Silero(Vad):
print("No active speech found in audio")
return []
assert segments_list, "segments_list is empty."
return Vad.merge_chunks(segments, chunk_size, onset, offset)
return Vad.merge_chunks(segments_list, chunk_size, onset, offset)