diff --git a/public/src/tts.js b/public/src/tts.js index 4a5528f..2dcd195 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 (forced buffered for debug)`); - if (false && mode === "streaming") { + console.log(`handleTTS: using ${mode} mode`); + if (mode === "streaming") { return await speakTextStreaming(text, voice, rate, model); } else { const result = await speakTextDirect(text, voice, rate, model);