diff --git a/faster_whisper/transcribe.py b/faster_whisper/transcribe.py index 8652e82b..e710fa46 100644 --- a/faster_whisper/transcribe.py +++ b/faster_whisper/transcribe.py @@ -511,6 +511,10 @@ def transcribe( all_language_probs=all_language_probs, ) + # Exit if no activity if found + if duration_after_vad==0: + return [], info + audio_segments, segments_metadata = self.audio_split( audio, vad_segments, sampling_rate )