Skip to content

Commit

Permalink
Update faster-whisper dep & corresponding default args.
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-plus committed Jul 2, 2024
1 parent c637e24 commit 91406b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions openlrc/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@

# Check https://github.com/guillaumekln/faster-whisper/blob/3b4a6aa1c22d293ddde9f08bdd31fc842086a6ea/faster_whisper/vad.py#L14 for details
default_vad_options = {
"threshold": 0.382,
"threshold": 0.15001,
"min_speech_duration_ms": 250,
"max_speech_duration_s": float("inf"),
"min_silence_duration_ms": 2000,
"window_size_samples": 1024,
"speech_pad_ms": 400,
}

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ filetype = "^1.2.0"
jaconvV2 = "^0.4"
spacy = "^3.5.4"
pysbd = "^0.3.4"
faster-whisper = "^1.0.0"
faster-whisper = "^1.0.3"
soundfile = "^0.12.1"
ffmpeg-normalize = "^1.27.5"
deepfilternet = "^0.5.6"
Expand Down

0 comments on commit 91406b3

Please sign in to comment.