Skip to content

Commit

Permalink
Update use_audio.md
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-husky committed Jul 15, 2023
1 parent 418bc32 commit d577bb3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/use_audio.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@ pip install --upgrade pyOpenSSL scipy git+https://github.com/aliyun/alibabacloud


## 2. 配置音频功能开关 和 阿里云APPKEY(config.py/config_private.py/环境变量)

- 注册阿里云账号
- 开通 智能语音交互 (有免费白嫖时长)
- 获取token和appkey
- 未来将逐步用其他更廉价的云服务取代阿里云

```
ENABLE_AUDIO = True
ALIYUN_TOKEN = "554a50fcd0bb476c8d07bb630e94d20c" # 例如 f37f30e0f9934c34a992f6f64f7eba4f
ALIYUN_APPKEY = "RoPlZrM88DnAFkZK" # 例如 RoPlZrM88DnAFkZK
ALIYUN_TOKEN = "554a50fcd0bb476c8d07bb630e94d20c" # 此token已经失效
ALIYUN_APPKEY = "RoPlZrM88DnAFkZK" # 此appkey已经失效
```

参考 https://help.aliyun.com/document_detail/450255.html
Expand Down

0 comments on commit d577bb3

Please sign in to comment.