diff --git a/src/routes/api/aiTextToSpeech.js b/src/routes/api/aiTextToSpeech.js index 25c77a4..4a376ef 100644 --- a/src/routes/api/aiTextToSpeech.js +++ b/src/routes/api/aiTextToSpeech.js @@ -14,8 +14,8 @@ const aiTextToSpeech = async (req, res) => { "Ava": "Ivy", "Monstero": "Justin", "Dax": "Kevin", - "Kai": "Daniele", - "Yara": "Sally" + "Kai": "Danielle", + "Yara": "Salli" }; const { text, voiceId: frontendVoiceId } = req.body; @@ -56,7 +56,7 @@ const aiTextToSpeech = async (req, res) => { formData.append('file1', audioBuffer, 'speech.mp3'); formData.append('file2', textBuffer, 'text.txt'); // formData.append('folder', folderName); // Send folder name - // formData.append('bucket', 'docs'); // Adjust bucket + formData.append('bucket', 'polly-bs'); // Adjust bucket const response = await axios.post( 'https://preschool-curriculum.in/api/one/v1/file/upload',