feat: 更新语音转文字功能,支持从音频链接获取音频数据并转换为base64;添加错误处理和权限验证
This commit is contained in:
@@ -4,4 +4,5 @@ import { auraConfig } from '../../config.ts'
|
||||
export const asr = new Asr({
|
||||
appid: auraConfig.VOLCENGINE_AUC_APPID,
|
||||
token: auraConfig.VOLCENGINE_AUC_TOKEN,
|
||||
type: 'flash'
|
||||
})
|
||||
Reference in New Issue
Block a user