浏览代码

fix: sleep duration

Timothy J. Baek 1 年之前
父节点
当前提交
f01428f502
共有 1 个文件被更改,包括 1 次插入1 次删除
  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];
 			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;