Skip to content

Commit

Permalink
Fix insanely_fast_whisper crash
Browse files Browse the repository at this point in the history
  • Loading branch information
jhj0517 committed Oct 4, 2024
1 parent 45fac7d commit c8e54db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/whisper/insanely_fast_whisper_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ def transcribe(self,
kwargs = {
"no_speech_threshold": params.no_speech_threshold,
"temperature": params.temperature,
"compression_ratio_threshold": params.compression_ratio_threshold
"compression_ratio_threshold": params.compression_ratio_threshold,
"logprob_threshold": params.log_prob_threshold,
}

if self.current_model_size.endswith(".en"):
Expand Down

0 comments on commit c8e54db

Please sign in to comment.