This commit is contained in:
Dave Horton
2023-07-19 10:02:10 -04:00
parent 830be783b8
commit 75ce537db1

View File

@@ -122,7 +122,7 @@ async function synthAudio(client, logger, stats, { account_sid,
text
});
let filePath;
if (['nuance', 'nvidia'].includes(vendor) ||
if (['nuance', 'nvidia'].includes(vendor) ||
(
process.env.JAMBONES_TTS_TRIM_SILENCE &&
['microsoft', 'azure'].includes(vendor)