Skip to content

Commit

Permalink
[BUGFIX] disabled VAD error "KeyError: 'plugins'"
Browse files Browse the repository at this point in the history
reported by Néo Luigi
  • Loading branch information
Sharrnah committed Aug 15, 2024
1 parent 7e1ab0d commit de858f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audioWhisper.py
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ def main(ctx, detect_energy, detect_energy_time, ui_download, devices, sample_ra

# add audio data to the queue
wav_audio_bytes = audio_tools.audio_bytes_to_wav(audio_data, channels=CHANNELS, sample_rate=SAMPLE_RATE)
audioprocessor.q.put({'time': time.time_ns(), 'data': wav_audio_bytes, 'final': True, 'settings': settings.SETTINGS})
audioprocessor.q.put({'time': time.time_ns(), 'data': wav_audio_bytes, 'final': True, 'settings': settings.SETTINGS, 'plugins': Plugins.plugins})

# set typing indicator for VRChat and websocket clients
typing_indicator_thread = threading.Thread(target=typing_indicator_function,
Expand Down

0 comments on commit de858f2

Please sign in to comment.