mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-18 20:27:58 +00:00
upgraded media
This commit is contained in:
parent
558da00d55
commit
b8ae9beef0
@ -89,11 +89,10 @@ active_ttm_service: "None" # musicgen (offline)
|
||||
# -------------------- Services --------------------------
|
||||
|
||||
# ***************** STT *****************
|
||||
stt_input_device: null
|
||||
stt_input_device: 0
|
||||
|
||||
|
||||
|
||||
# ASR STT service
|
||||
# TTS service
|
||||
stt_listening_threshold: 1000
|
||||
stt_silence_duration: 2
|
||||
stt_sound_threshold_percentage: 10
|
||||
@ -104,7 +103,7 @@ stt_buffer_size: 10
|
||||
|
||||
|
||||
|
||||
# asr
|
||||
# ASR STT service
|
||||
asr_enable: false
|
||||
asr_base_url: http://localhost:9000
|
||||
|
||||
@ -119,7 +118,7 @@ whisper_model: base
|
||||
|
||||
|
||||
# ***************** TTS *****************
|
||||
tts_output_device: null
|
||||
tts_output_device: 0
|
||||
|
||||
# Voice service
|
||||
xtts_enable: false
|
||||
|
@ -89,11 +89,10 @@ active_ttm_service: "None" # musicgen (offline)
|
||||
# -------------------- Services --------------------------
|
||||
|
||||
# ***************** STT *****************
|
||||
stt_input_device: null
|
||||
stt_input_device: 0
|
||||
|
||||
|
||||
|
||||
# ASR STT service
|
||||
# TTS service
|
||||
stt_listening_threshold: 1000
|
||||
stt_silence_duration: 2
|
||||
stt_sound_threshold_percentage: 10
|
||||
@ -104,7 +103,7 @@ stt_buffer_size: 10
|
||||
|
||||
|
||||
|
||||
# asr
|
||||
# ASR STT service
|
||||
asr_enable: false
|
||||
asr_base_url: http://localhost:9000
|
||||
|
||||
@ -119,7 +118,7 @@ whisper_model: base
|
||||
|
||||
|
||||
# ***************** TTS *****************
|
||||
tts_output_device: null
|
||||
tts_output_device: 0
|
||||
|
||||
# Voice service
|
||||
xtts_enable: false
|
||||
|
@ -213,7 +213,7 @@ class RTCom:
|
||||
def _record(self):
|
||||
with sd.InputStream(channels=self.channels, device=self.snd_input_device, samplerate=self.rate, callback=self.callback, dtype='int16'):
|
||||
while not self.stop_flag:
|
||||
time.sleep(0.1)
|
||||
time.sleep(1)
|
||||
|
||||
if self.frames:
|
||||
self._save_wav(self.frames)
|
||||
|
@ -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
|
||||
@ -89,7 +89,17 @@ active_ttm_service: "None" # musicgen (offline)
|
||||
# -------------------- Services --------------------------
|
||||
|
||||
# ***************** STT *****************
|
||||
stt_input_device: null
|
||||
stt_input_device: 0
|
||||
|
||||
|
||||
# TTS 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
|
||||
|
||||
|
||||
|
||||
@ -108,7 +118,7 @@ whisper_model: base
|
||||
|
||||
|
||||
# ***************** TTS *****************
|
||||
tts_output_device: null
|
||||
tts_output_device: 0
|
||||
|
||||
# Voice service
|
||||
xtts_enable: false
|
||||
|
@ -326,6 +326,7 @@ class PersonalityDataRequest(BaseModel):
|
||||
|
||||
@router.post("/get_personality_config")
|
||||
def get_personality_config(data:PersonalityDataRequest):
|
||||
check_access(lollmsElfServer, data.client_id)
|
||||
print("- Recovering personality config")
|
||||
category = sanitize_path(data.category)
|
||||
name = sanitize_path(data.name)
|
||||
|
Loading…
Reference in New Issue
Block a user