aadnk commited on
Commit
bcee468
1 Parent(s): b604ea1

Return results, not last seconds

Browse files
Files changed (1) hide show
  1. src/vad.py +1 -1
src/vad.py CHANGED
@@ -326,7 +326,7 @@ class VadSileroTranscription(AbstractTranscription):
326
  result.extend(adjusted)
327
  chunk_start += chunk_duration
328
 
329
- return seconds_timestamps
330
 
331
  # A very simple VAD that just marks every N seconds as speech
332
  class VadPeriodicTranscription(AbstractTranscription):
 
326
  result.extend(adjusted)
327
  chunk_start += chunk_duration
328
 
329
+ return result
330
 
331
  # A very simple VAD that just marks every N seconds as speech
332
  class VadPeriodicTranscription(AbstractTranscription):