support deepgram (#579)

* support deepgram

* update speech utils
This commit is contained in:
Hoan Luu Huu
2023-12-26 19:46:35 +07:00
committed by GitHub
parent 9eb315ecd6
commit 3e8474867f
3 changed files with 10 additions and 8 deletions

View File

@@ -76,6 +76,8 @@ class TaskSay extends Task {
voice = arr[1];
model = arr[2];
}
} else if (vendor === 'deepgram') {
model = voice;
}
/* allow for microsoft custom region voice and api_key to be specified as an override */