From 97c3588cfdacad2eb0d33f4eafd54bf27512e053 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Mon, 12 Feb 2024 21:06:38 -0500 Subject: [PATCH] bug: JAMBONES_DISABLE_TTS_STREAMING is now the env --- lib/synth-audio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/synth-audio.js b/lib/synth-audio.js index fa50ea5..4bc83a5 100644 --- a/lib/synth-audio.js +++ b/lib/synth-audio.js @@ -145,7 +145,7 @@ async function synthAudio(client, logger, stats, { account_sid, ['microsoft', 'azure'].includes(vendor) ) || ( - process.env.JAMBONES_ELEVENLABS_STREAMING && + !process.env.JAMBONES_DISABLE_TTS_STREAMING && vendor === 'elevenlabs' ) ) {