This commit is contained in:
srgooglo 2025-02-22 06:11:15 +01:00
parent 0e61f78dbb
commit 39165b3ca3
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ async function synthesizePollyVoice(phrase, phraseId) {
const voiceResultFile = fs.createWriteStream(voiceResultPath)
console.log(`Catching TTS file for id [${phraseId}]`)
const { data: stream } = await axios({
url: `${PollyBaseURL}/v1/speech`,
method: "POST",