Spaces:
Running
Running
jhj0517
commited on
Commit
·
c8e54db
1
Parent(s):
45fac7d
Fix insanely_fast_whisper crash
Browse files
modules/whisper/insanely_fast_whisper_inference.py
CHANGED
@@ -78,7 +78,8 @@ class InsanelyFastWhisperInference(WhisperBase):
|
|
78 |
kwargs = {
|
79 |
"no_speech_threshold": params.no_speech_threshold,
|
80 |
"temperature": params.temperature,
|
81 |
-
"compression_ratio_threshold": params.compression_ratio_threshold
|
|
|
82 |
}
|
83 |
|
84 |
if self.current_model_size.endswith(".en"):
|
|
|
78 |
kwargs = {
|
79 |
"no_speech_threshold": params.no_speech_threshold,
|
80 |
"temperature": params.temperature,
|
81 |
+
"compression_ratio_threshold": params.compression_ratio_threshold,
|
82 |
+
"logprob_threshold": params.log_prob_threshold,
|
83 |
}
|
84 |
|
85 |
if self.current_model_size.endswith(".en"):
|