From cc8963802fea8e0816767026a01fb88f3caa766a Mon Sep 17 00:00:00 2001 From: Quan HL Date: Mon, 8 Apr 2024 17:33:21 +0700 Subject: [PATCH] wip --- 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 34358b7..210aa89 100644 --- a/lib/synth-audio.js +++ b/lib/synth-audio.js @@ -85,7 +85,7 @@ async function synthAudio(client, logger, stats, { account_sid, logger = logger || noopLogger; assert.ok(['google', 'aws', 'polly', 'microsoft', - 'wellsaid', 'nuance', 'nvidia', 'ibm', 'elevenlabs', 'whisper', 'deepgram'].includes(vendor) || + 'wellsaid', 'nuance', 'nvidia', 'ibm', 'elevenlabs', 'whisper', 'deepgram', 'playht'].includes(vendor) || vendor.startsWith('custom'), `synthAudio supported vendors are google, aws, microsoft, nuance, nvidia and wellsaid, not ${vendor}`); if ('google' === vendor) {