mirror of
https://github.com/m-bain/whisperX.git
synced 2025-07-01 18:17:27 -04:00
Update silero.py
This commit is contained in:
@ -63,4 +63,4 @@ class Silero(Vad):
|
|||||||
print("No active speech found in audio")
|
print("No active speech found in audio")
|
||||||
return []
|
return []
|
||||||
assert segments_list, "segments_list is empty."
|
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)
|
||||||
|
Reference in New Issue
Block a user