mirror of
https://github.com/jambonz/speech-utils.git
synced 2026-07-23 12:41:48 +00:00
bugfix: AWS polly
This commit is contained in:
+1
-1
@@ -184,7 +184,7 @@ async function synthAudio(client, logger, stats, { account_sid,
|
||||
|
||||
const synthPolly = async(logger, {credentials, stats, language, voice, engine, text}) => {
|
||||
try {
|
||||
const polly = new PollyClient(credentials);
|
||||
const polly = new PollyClient({credentials});
|
||||
const opts = {
|
||||
Engine: engine,
|
||||
OutputFormat: 'mp3',
|
||||
|
||||
Reference in New Issue
Block a user