mirror of
https://github.com/open-webui/open-webui.git
synced 2025-08-29 23:32:05 +02:00
fix: sleep duration
This commit is contained in:
@@ -125,7 +125,7 @@
|
||||
const audio = sentencesAudio[idx];
|
||||
audio.play();
|
||||
audio.onended = async (e) => {
|
||||
await new Promise((r) => setTimeout(r, 500));
|
||||
await new Promise((r) => setTimeout(r, 300));
|
||||
|
||||
if (Object.keys(sentencesAudio).length - 1 === idx) {
|
||||
speaking = null;
|
||||
|
Reference in New Issue
Block a user