fix: sleep duration
This commit is contained in:
1 parent
401799c6fa
commit
f01428f502
1 file changed
+1
-1
@@ -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