services(whisper): increase no speech probability to 0.4

This commit is contained in:
Aleix Conchillo Flaqué
2024-06-06 23:39:44 -07:00
parent 90d11398e6
commit b4340d0185
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ class WhisperSTTService(STTService):
model: Model = Model.DISTIL_MEDIUM_EN, model: Model = Model.DISTIL_MEDIUM_EN,
device: str = "auto", device: str = "auto",
compute_type: str = "default", compute_type: str = "default",
no_speech_prob: float = 0.1, no_speech_prob: float = 0.4,
**kwargs): **kwargs):
super().__init__(**kwargs) super().__init__(**kwargs)