Browse Source

fix: sleep duration

Timothy J. Baek 1 year ago
parent
commit
f01428f502
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/components/chat/Messages/ResponseMessage.svelte

+ 1 - 1
src/lib/components/chat/Messages/ResponseMessage.svelte

@@ -125,7 +125,7 @@
 			const audio = sentencesAudio[idx];
 			const audio = sentencesAudio[idx];
 			audio.play();
 			audio.play();
 			audio.onended = async (e) => {
 			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) {
 				if (Object.keys(sentencesAudio).length - 1 === idx) {
 					speaking = null;
 					speaking = null;