mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 22:05:19 +00:00
refac
This commit is contained in:
parent
ad2ffc33d8
commit
6d9ed32929
1 changed files with 2 additions and 1 deletions
|
|
@ -270,8 +270,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (assistantSpeaking) {
|
if (assistantSpeaking) {
|
||||||
|
// Mute the audio if the assistant is speaking
|
||||||
analyser.maxDecibels = 0;
|
analyser.maxDecibels = 0;
|
||||||
analyser.minDecibels = -10;
|
analyser.minDecibels = -1;
|
||||||
} else {
|
} else {
|
||||||
analyser.minDecibels = MIN_DECIBELS;
|
analyser.minDecibels = MIN_DECIBELS;
|
||||||
analyser.maxDecibels = -30;
|
analyser.maxDecibels = -30;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue