Merge pull request #60 from jambonz/fix/deepgram_tts

update deepgram tts endpoint
This commit is contained in:
Dave Horton
2024-03-05 09:12:58 -05:00
committed by GitHub
+1 -1
View File
@@ -702,7 +702,7 @@ const synthWhisper = async(logger, {credentials, stats, voice, text, renderForCa
const synthDeepgram = async(logger, {credentials, stats, model, text}) => {
const {api_key} = credentials;
try {
const post = bent('https://api.beta.deepgram.com', 'POST', 'buffer', {
const post = bent('https://api.deepgram.com', 'POST', 'buffer', {
'Authorization': `Token ${api_key}`,
'Accept': 'audio/mpeg',
'Content-Type': 'application/json'