diff options
| author | yum <yum.food.vr@gmail.com> | 2023-06-27 15:16:06 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-06-27 15:16:06 -0700 |
| commit | cf75998dab6db1b1d21ca06bde18a56b5e896937 (patch) | |
| tree | 6ad77c5e32ad8f06b3a0ff507d1efa9f84c8b2a6 /Scripts/generate_params.py | |
| parent | 8ff761153b7de23a9556f2af179ab3bf4b9849a5 (diff) | |
Add ability to preserve transcript while using push to talk
This is useful when streaming. Occasionally the STT can get into
a bad state, and manually segmenting clears it up. However doing so
would clear your accumulated transcript, which isn't always desired. Add
ability to preserve the transcript.
A small wrinkle: the new commit logic requires N consecutive identical
windows before committing. To make this feature play nicely with it, I
had to forcibly commit any preview text that hasn't yet been committed.
Failing to do this would usually cause short utterances / the most
recently said stuff to get wiped out.
Diffstat (limited to 'Scripts/generate_params.py')
0 files changed, 0 insertions, 0 deletions
