summaryrefslogtreecommitdiffstats
path: root/Scripts/libunity.py
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2023-09-08 16:46:34 -0700
committeryum <yum.food.vr@gmail.com>2023-09-08 16:48:38 -0700
commitcc857e7c73334ef47a415c0abdb51a49171b9afd (patch)
tree4cb276ea0b94029ca53f5ec298141246ed564432 /Scripts/libunity.py
parent31d84a0cfdd3c30c2fdf1dbfe4e855ae78555707 (diff)
Only transcribe if VAD detects something
Also: * DiskStream starts returning silence when out of data instead of just stopping. * Filter out Whisper segments with high `no_speech_prob` and low `avg_logprob`. * Add `saveAudio` function, useful for debugging. * Tune vad silence cutoff to 250 ms. This is pretty accurate in benchmarks.
Diffstat (limited to 'Scripts/libunity.py')
0 files changed, 0 insertions, 0 deletions