mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
sync
This commit is contained in:
parent
5f6bd16e2b
commit
5d411f9bc3
@ -74,13 +74,13 @@ def add_events(sio:socketio):
|
|||||||
lollmsElfServer.sio,
|
lollmsElfServer.sio,
|
||||||
lollmsElfServer.personality,
|
lollmsElfServer.personality,
|
||||||
client=client,
|
client=client,
|
||||||
threshold=1000,
|
threshold=lollmsElfServer.config.stt_listening_threshold,
|
||||||
silence_duration=2,
|
silence_duration=lollmsElfServer.config.stt_silence_duration,
|
||||||
sound_threshold_percentage=10,
|
sound_threshold_percentage=lollmsElfServer.config.stt_sound_threshold_percentage,
|
||||||
gain=1.0,
|
gain=lollmsElfServer.config.stt_gain,
|
||||||
rate=44100,
|
rate=lollmsElfServer.config.stt_rate,
|
||||||
channels=1,
|
channels=lollmsElfServer.config.stt_channels,
|
||||||
buffer_size=10,
|
buffer_size=lollmsElfServer.config.stt_buffer_size,
|
||||||
model=lollmsElfServer.config.whisper_model,
|
model=lollmsElfServer.config.whisper_model,
|
||||||
snd_input_device=lollmsElfServer.config.stt_input_device,
|
snd_input_device=lollmsElfServer.config.stt_input_device,
|
||||||
snd_output_device=lollmsElfServer.config.tts_output_device,
|
snd_output_device=lollmsElfServer.config.tts_output_device,
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 4734e5f359d6cf480ac62bec53c2e21022219bc8
|
Subproject commit 6afd883f1ba2d4feeb4e94acdb138ef2a3079a98
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
web/dist/index.html
vendored
4
web/dist/index.html
vendored
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>LoLLMS WebUI - Welcome</title>
|
<title>LoLLMS WebUI - Welcome</title>
|
||||||
<script type="module" crossorigin src="/assets/index-287dcde0.js"></script>
|
<script type="module" crossorigin src="/assets/index-2ebea018.js"></script>
|
||||||
<link rel="stylesheet" href="/assets/index-95a62c9e.css">
|
<link rel="stylesheet" href="/assets/index-3615956c.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
@ -3589,7 +3589,9 @@ export default {
|
|||||||
},
|
},
|
||||||
defaultModelImgPlaceholder:defaultModelImgPlaceholder,
|
defaultModelImgPlaceholder:defaultModelImgPlaceholder,
|
||||||
snd_input_devices: [],
|
snd_input_devices: [],
|
||||||
|
snd_input_devices_indexes: [],
|
||||||
snd_output_devices: [],
|
snd_output_devices: [],
|
||||||
|
snd_output_devices_indexes: [],
|
||||||
voices: [],
|
voices: [],
|
||||||
voice_languages:{
|
voice_languages:{
|
||||||
"Arabic": "ar",
|
"Arabic": "ar",
|
||||||
@ -5859,6 +5861,7 @@ export default {
|
|||||||
console.log("Loading input devices list")
|
console.log("Loading input devices list")
|
||||||
const response = await axios.get("/get_snd_input_devices")
|
const response = await axios.get("/get_snd_input_devices")
|
||||||
this.snd_input_devices = response.data["device_names"]
|
this.snd_input_devices = response.data["device_names"]
|
||||||
|
this.snd_input_devices_indexes = response.data["device_indexes"]
|
||||||
}
|
}
|
||||||
catch{
|
catch{
|
||||||
console.log("Couldin't list input devices")
|
console.log("Couldin't list input devices")
|
||||||
@ -5867,6 +5870,7 @@ export default {
|
|||||||
console.log("Loading output devices list")
|
console.log("Loading output devices list")
|
||||||
const response = await axios.get("/get_snd_output_devices")
|
const response = await axios.get("/get_snd_output_devices")
|
||||||
this.snd_output_devices = response.data["device_names"]
|
this.snd_output_devices = response.data["device_names"]
|
||||||
|
this.snd_output_devices_indexes = response.data["device_indexes"]
|
||||||
}
|
}
|
||||||
catch{
|
catch{
|
||||||
console.log("Couldin't list output devices")
|
console.log("Couldin't list output devices")
|
||||||
|
Loading…
Reference in New Issue
Block a user