added new configuration options

This commit is contained in:
Saifeddine ALOUI 2024-05-23 22:55:55 +02:00
parent 721b751a6f
commit 097e145ff0
4 changed files with 25 additions and 4 deletions

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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)