Skip to content

Commit

Permalink
fix wrong reference
Browse files Browse the repository at this point in the history
  • Loading branch information
MahmoudAshraf97 committed Nov 15, 2024
1 parent cea8e19 commit 0f11172
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 @@ -484,7 +484,7 @@ def transcribe(
language_probability,
)
else:
if not self.model.is_multilingual and language != "en":
if not self.model.model.is_multilingual and language != "en":
self.logger.warning(
"The current model is English-only but the language parameter is set to '%s'; "
"using 'en' instead." % language
Expand Down

0 comments on commit 0f11172

Please sign in to comment.