mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-04-09 03:44:14 +00:00
added new configuration options
This commit is contained in:
parent
721b751a6f
commit
097e145ff0
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user