mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-29 00:23:51 +08:00
添加百度asr支持
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user