summaryrefslogtreecommitdiffstats
path: root/Scripts/cpp_transcribe.py
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2023-06-27 15:16:06 -0700
committeryum <yum.food.vr@gmail.com>2023-06-27 15:16:06 -0700
commitcf75998dab6db1b1d21ca06bde18a56b5e896937 (patch)
tree6ad77c5e32ad8f06b3a0ff507d1efa9f84c8b2a6 /Scripts/cpp_transcribe.py
parent8ff761153b7de23a9556f2af179ab3bf4b9849a5 (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/cpp_transcribe.py')
0 files changed, 0 insertions, 0 deletions