添加百度asr支持

This commit is contained in:
王华侨
2025-05-03 22:21:22 +08:00
parent 727621fdac
commit 1976034f12
3 changed files with 119 additions and 1 deletions
+13
View File
@@ -258,6 +258,19 @@ ASR:
access_key_id: 你的阿里云账号access_key_id
access_key_secret: 你的阿里云账号access_key_secret
output_dir: tmp/
BaiduASR:
# 可以在这里申请百度语音技术的AppID、API Key、Secret Key
# https://console.bce.baidu.com/ai-engine/old/#/ai/speech/app/list
# 启用前需要先安装依赖包:
# pip install baidu-aip==4.16.13
# pip install chardet==5.2.0
type: baidu
app_id: 你的百度语音技术AppID
api_key: 你的百度语音技术APIKey
secret_key: 你的百度语音技术SecretKey
# 语言参数,1537为普通话,具体参考:https://ai.baidu.com/ai-doc/SPEECH/0lbxfnc9b
dev_pid: 1537
output_dir: tmp/
VAD:
SileroVAD: