diff options
Diffstat (limited to 'Scripts/transcribe.py')
| -rw-r--r-- | Scripts/transcribe.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Scripts/transcribe.py b/Scripts/transcribe.py index 56c4515..8fe6190 100644 --- a/Scripts/transcribe.py +++ b/Scripts/transcribe.py @@ -249,7 +249,7 @@ def transcribe(audio_state, model, frames, use_cpu: bool) -> typing.Tuple[str,st for segment in ranges: first_segments.append(segment) break - if len(first_segments) >= 5: + if len(first_segments) >= 4: # Hack: require convergence across many frames to give the # algorithm a longer buffer to work with. c0 = first_segments[-1] |
