v0.1.15
KoljaB/RealtimeSTTv0.1.15Apr 14, 2024by KoljaB
AI Summary
Added decoding parameters and a method to dynamically switch between microphone input and audio injection.
Key Highlights
- Added beam search decoding parameters
- Added dynamic microphone switching capability
- Added initial prompt and token suppression options
New Features
- beam_size
- beam_size_realtime
- initial_prompt
- suppress_tokens
- set_microphone
Full Release Notes
- added parameter **beam_size** (int, default=5) The beam size to use for beam search decoding - added parameter **beam_size_realtime** (int, default=3) The beam size to use for real-time transcription beam search decoding. - added parameter **initial_prompt** (str or iterable of int, default=None) Initial prompt to be fed to the transcription models. - added parameter **suppress_tokens** (list of int, default=[-1]) Tokens to be suppressed from the transcription output. - added method **set_microphone**(microphone_on=True) This parameter allows dynamical switching between recording from the input device configured in RealtimeSTT and chunks injected into the processing pipeline with the feed_audio-method