diff --git a/public/src/tts.js b/public/src/tts.js index 2dcd195..4a5528f 100644 --- a/public/src/tts.js +++ b/public/src/tts.js @@ -461,8 +461,8 @@ export async function generateTitleForTTS(text) { export async function handleTTS(text, voice = "alloy", rate = 0.9, model = "tts-1-qwen") { try { const mode = getTTSMode(); - console.log(`handleTTS: using ${mode} mode`); - if (mode === "streaming") { + console.log(`handleTTS: using ${mode} mode (forced buffered for debug)`); + if (false && mode === "streaming") { return await speakTextStreaming(text, voice, rate, model); } else { const result = await speakTextDirect(text, voice, rate, model);