RealtimeSTT
RealtimeSTT copied to clipboard
on_realtime_transcription_stabilized continuously repeating callbacks
Hi,when I use realtime transcription call back for a period of time,text_detected will always return the same words,even though there is no real-time voice data input. recorder_config = { 'spinner': False, 'use_microphone': False, 'model': 'distil-small.en', 'language': 'en', #'debug_mode': True, #'level': logging.INFO, #'silero_sensitivity': 0.4, #'webrtc_sensitivity': 0, #'post_speech_silence_duration': 0.1, #'min_length_of_recording': 1, #'min_gap_between_recordings': 0.1, 'enable_realtime_transcription': True, #'realtime_processing_pause': 0.5, 'realtime_model_type': 'distil-small.en', 'beam_size_realtime': 1,
'on_realtime_transcription_stabilized': text_detected,
}