mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45: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) {
|
||||
// Mute the audio if the assistant is speaking
|
||||
analyser.maxDecibels = 0;
|
||||
analyser.minDecibels = -10;
|
||||
analyser.minDecibels = -1;
|
||||
} else {
|
||||
analyser.minDecibels = MIN_DECIBELS;
|
||||
analyser.maxDecibels = -30;
|
||||
|
|
|
|||
Loading…
Reference in a new issue