From 9e94a4d89884b5ea605a22e4c5483afc095b4341 Mon Sep 17 00:00:00 2001 From: xiongxiao Date: Tue, 14 Oct 2025 23:04:59 +0800 Subject: [PATCH] update --- src/asr/provider/volcengine/auc.ts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/asr/provider/volcengine/auc.ts b/src/asr/provider/volcengine/auc.ts index b05afc2..b6573ef 100644 --- a/src/asr/provider/volcengine/auc.ts +++ b/src/asr/provider/volcengine/auc.ts @@ -121,4 +121,16 @@ export interface AsrRequest { context?: string; }; }; -} \ No newline at end of file +} + +// 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(); \ No newline at end of file