Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimas committed Nov 21, 2024
1 parent e550190 commit 63bce25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/whisper_ctranslate2/transcribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def inference(
):
vad_parameters = self._get_vad_parameters_dictionary(options)

model = batched_model if batched_model else self.model
model = self.batched_model if self.batched_model else self.model

segments, info = model.transcribe(
audio=audio,
Expand Down

0 comments on commit 63bce25

Please sign in to comment.