From 011cfdd4bab866a64b06406ceaa7563294af9225 Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 26 Jun 2023 17:12:41 -0700 Subject: Add UI for browser src Add ability to toggle on/off browser src & configure port. --- Scripts/transcribe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Scripts/transcribe.py') 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] -- cgit v1.2.3