Skip to content

Commit

Permalink
cancel fix
Browse files Browse the repository at this point in the history
  • Loading branch information
I5UCC committed Jan 6, 2023
1 parent 962c639 commit 0884eb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/TextboxSTT.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ def process():
if torch_audio is None:
ui.set_status_label("TIMEOUT - WAITING FOR INPUT", "orange")
play_sound("timeout")
held = True
oscClient.send_message(VRC_TYPING_PARAM, False)
else:
play_sound("donelisten")
Expand All @@ -135,7 +134,9 @@ def process():
play_sound("finished")
populate_chatbox(trans)
else:
ui.set_status_label("CANCELED - WAITING FOR INPUT", "orange")
play_sound("timeout")
held = True


def get_trigger_state():
Expand Down

0 comments on commit 0884eb8

Please sign in to comment.