feat/379: added tts property to deepgram response (#380)

This commit is contained in:
rammohan-y authored and GitHub committed 2025-01-21 08:15:32 -05:00
1 parent fa81d179a1
commit 66bd9a442c
3 files changed
+96 -13

No files matched your search

+2 -1
View File
@@ -22,6 +22,7 @@ const TtsPlayHtLanguagesVoices = require('./speech-data/tts-playht');
const TtsVerbioLanguagesVoices = require('./speech-data/tts-verbio');
const TtsModelDeepgram = require('./speech-data/tts-model-deepgram');
const TtsLanguagesDeepgram = require('./speech-data/tts-deepgram');
const TtsModelElevenLabs = require('./speech-data/tts-model-elevenlabs');
const TtsModelWhisper = require('./speech-data/tts-model-whisper');
const TtsModelPlayHT = require('./speech-data/tts-model-playht');
@@ -780,7 +781,7 @@ async function getLanguagesVoicesForNuane(credential, getTtsVoices, logger) {
}
async function getLanguagesVoicesForDeepgram(credential) {
return tranform(undefined, SttDeepgramLanguagesVoices, TtsModelDeepgram);
return tranform(TtsLanguagesDeepgram, SttDeepgramLanguagesVoices, TtsModelDeepgram);
}
async function getLanguagesVoicesForIbm(credential, getTtsVoices, logger) {