File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ def get_speech_timestamps(audio: torch.Tensor,
223223 progress_tracking_callback : Callable [[float ], None ] = None ,
224224 neg_threshold : float = None ,
225225 window_size_samples : int = 512 ,
226- min_silence_at_max_speech : float = 98 ,
226+ min_silence_at_max_speech : int = 98 ,
227227 use_max_poss_sil_at_max_speech : bool = True ):
228228
229229 """
@@ -272,7 +272,7 @@ def get_speech_timestamps(audio: torch.Tensor,
272272 neg_threshold: float (default = threshold - 0.15)
273273 Negative threshold (noise or exit threshold). If model's current state is SPEECH, values BELOW this value are considered as NON-SPEECH.
274274
275- min_silence_at_max_speech: float (default - 98ms)
275+ min_silence_at_max_speech: int (default - 98ms)
276276 Minimum silence duration in ms which is used to avoid abrupt cuts when max_speech_duration_s is reached
277277
278278 use_max_poss_sil_at_max_speech: bool (default - True)
You can’t perform that action at this time.
0 commit comments