diff options
| author | yum <yum.food.vr@gmail.com> | 2023-09-08 16:46:34 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-09-08 16:48:38 -0700 |
| commit | cc857e7c73334ef47a415c0abdb51a49171b9afd (patch) | |
| tree | 4cb276ea0b94029ca53f5ec298141246ed564432 /Scripts/libunity.py | |
| parent | 31d84a0cfdd3c30c2fdf1dbfe4e855ae78555707 (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
