if (FALSE) { # interactive()
# Amazon Polly
if (tts_auth(service = "amazon")) {
tts_voices(service = "amazon")
}
# Microsoft Cognitive Services Text to Speech REST API
if (tts_auth(service = "microsoft")) {
tts_voices(service = "microsoft")
}
# Google Cloud Text-to-Speech API
if (tts_auth(service = "google")) {
tts_voices(service = "google")
}
# Coqui TTS
if (tts_auth(service = "coqui")) {
tts_voices(service = "coqui")
}
}
Run the code above in your browser using DataLab