diff options
| author | yum <yum.food.vr@gmail.com> | 2022-12-30 01:10:32 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2022-12-30 01:10:32 -0800 |
| commit | d1024fef1b216af5d3d991228c6b83311a71bb42 (patch) | |
| tree | a345d290788e501d588ab3e97390af32845244c7 /Scripts/transcribe.py | |
| parent | abdaa7ce215086bf1070d6093731cd35df866cbb (diff) | |
Bugfix: regenerated FX layers now work on uploaded avatars
VRChat won't update the FX layer associated with an avatar unless its
GUID changes. Delete the GUID file when overwriting our generated FX
layer to work around this.
* Change paging behavior: when a region is updated, we re-page everything
that comes after it. This fixes the issue where we go back to update
something, then jump back to the current screen, leaving some random
chunk of text somewhere on the board.
* Reduce transcription time from 28s to 10s. I'm going to expose this to
the user since there's a fundamental latency/stability tradeoff here.
Diffstat (limited to 'Scripts/transcribe.py')
| -rw-r--r-- | Scripts/transcribe.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Scripts/transcribe.py b/Scripts/transcribe.py index 21bb4ba..0530946 100644 --- a/Scripts/transcribe.py +++ b/Scripts/transcribe.py @@ -35,7 +35,7 @@ class AudioState: # The maximum length that recordAudio() will put into frames before it # starts dropping from the start. - self.MAX_LENGTH_S = 28 + self.MAX_LENGTH_S = 10 self.MAX_LENGTH_S_WHISPER = 30 # The minimum length that recordAudio() will wait for before saving audio. self.MIN_LENGTH_S = 1 |
