Add some logging

This commit is contained in:
Jackson Harper
2023-02-16 16:23:03 +08:00
parent cd9c2e50b5
commit f25b9f09a7

View File

@ -54,6 +54,8 @@ export class RealisticTextToSpeech implements TextToSpeech {
}
const requestUrl = `${apiEndpoint}${voiceId}`
console.log('using voice id', voiceId, requestUrl)
const response = await axios.post<Buffer>(
requestUrl,
{