diff --git a/configs/config.yaml b/configs/config.yaml index 28a9232..ecf3111 100644 --- a/configs/config.yaml +++ b/configs/config.yaml @@ -1,5 +1,5 @@ # =================== Lord Of Large Language Multimodal Systems Configuration file =========================== -version: 100 +version: 101 binding_name: null model_name: null model_variant: null @@ -94,6 +94,17 @@ stt_input_device: null # ASR STT service +stt_listening_threshold: 1000 +stt_silence_duration: 2 +stt_sound_threshold_percentage: 10 +stt_gain: 1.0 +stt_rate: 44100 +stt_channels: 1 +stt_buffer_size: 10 + + + +# asr asr_enable: false asr_base_url: http://localhost:9000 diff --git a/lollms/app.py b/lollms/app.py index 8e50a9b..6b8c998 100644 --- a/lollms/app.py +++ b/lollms/app.py @@ -405,7 +405,6 @@ class LollmsApplication(LoLLMsCom): trace_exception(ex) self.warning(f"Couldn't load Motion control") - if self.config.active_tti_service == "autosd": from lollms.services.sd.lollms_sd import LollmsSD self.tti = LollmsSD(self) diff --git a/lollms/configs/config.yaml b/lollms/configs/config.yaml index 28a9232..ecf3111 100644 --- a/lollms/configs/config.yaml +++ b/lollms/configs/config.yaml @@ -1,5 +1,5 @@ # =================== Lord Of Large Language Multimodal Systems Configuration file =========================== -version: 100 +version: 101 binding_name: null model_name: null model_variant: null @@ -94,6 +94,17 @@ stt_input_device: null # ASR STT service +stt_listening_threshold: 1000 +stt_silence_duration: 2 +stt_sound_threshold_percentage: 10 +stt_gain: 1.0 +stt_rate: 44100 +stt_channels: 1 +stt_buffer_size: 10 + + + +# asr asr_enable: false asr_base_url: http://localhost:9000 diff --git a/lollms/media.py b/lollms/media.py index e689d87..77ab89e 100644 --- a/lollms/media.py +++ b/lollms/media.py @@ -171,7 +171,7 @@ class RTCom: self.transcribed_files = deque() self.buffer_lock = threading.Condition() self.transcribed_lock = threading.Condition() - ASCIIColors.info("Loading whisper...",end="",flush=True) + ASCIIColors.info("Loading whisper...", end="",flush=True) self.model = model self.whisper = whisper.load_model(model)