diff options
| author | yum <yum.food.vr@gmail.com> | 2023-06-26 17:12:41 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-06-26 17:13:31 -0700 |
| commit | 011cfdd4bab866a64b06406ceaa7563294af9225 (patch) | |
| tree | 6ac710ae54e0cc8abd0b42706be120fd53e74884 /Scripts/transcribe.py | |
| parent | 71d50240de4d23af86c52ace80140d19266b7616 (diff) | |
Add UI for browser src
Add ability to toggle on/off browser src & configure port.
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] |
