Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiltseb committed Apr 12, 2024
1 parent c41e4f2 commit 0e8fa00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faster_whisper/transcribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ def transcribe(
offset=self.vad_offset,
)
else:
raise RuntimeError("no vad_model found. Set 'use_vad_model' to True while loading the model")
raise RuntimeError("No vad segments found. Set 'use_vad_model' to True while loading the model")

language, language_probability, task = self.get_language_and_tokenizer(
audio, task, language
Expand Down

0 comments on commit 0e8fa00

Please sign in to comment.