This commit is contained in:
2025-10-14 23:04:59 +08:00
parent d4475cb2f2
commit 9e94a4d898

View File

@@ -121,4 +121,16 @@ export interface AsrRequest {
context?: string; context?: string;
}; };
}; };
} }
// const main = async () => {
// const base64Audio = wavToBase64(audioPath);
// const auc = new Asr({
// appid: config.VOLCENGINE_AUC_APPID,
// token: config.VOLCENGINE_AUC_TOKEN,
// });
// const result = await auc.getText({ audio: { data: base64Audio } });
// console.log(util.inspect(result, { showHidden: false, depth: null, colors: true }))
// }
// main();