Spaces:
Sleeping
Sleeping
Return results, not last seconds
Browse files- 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
|
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):
|