Skip to content

Commit

Permalink
fix a typo in detect_language_multi_segment
Browse files Browse the repository at this point in the history
  • Loading branch information
fcakyon authored Oct 4, 2024
1 parent d57c5b4 commit 3f8eb04
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 @@ -1860,7 +1860,7 @@ def detect_language_multi_segment(
Detect language based on N highly-confident segments of a language.
"""
# The threshold is used to decide if the audio is silence or not.
# The default is 0.02 (2.0%) i.e, if more than 2.0% of the audio is silent,
# The default is 0.02 (2.0%) i.e, if more than 98.0% of the audio is silent,
# the audio is considered as silence.
if not params:
params = {
Expand Down

0 comments on commit 3f8eb04

Please sign in to comment.