Update use_audio.md
This commit is contained in:
parent
418bc32b39
commit
d577bb38b6
@ -13,10 +13,16 @@ pip install --upgrade pyOpenSSL scipy git+https://github.com/aliyun/alibabacloud
|
|||||||
|
|
||||||
|
|
||||||
## 2. 配置音频功能开关 和 阿里云APPKEY(config.py/config_private.py/环境变量)
|
## 2. 配置音频功能开关 和 阿里云APPKEY(config.py/config_private.py/环境变量)
|
||||||
|
|
||||||
|
- 注册阿里云账号
|
||||||
|
- 开通 智能语音交互 (有免费白嫖时长)
|
||||||
|
- 获取token和appkey
|
||||||
|
- 未来将逐步用其他更廉价的云服务取代阿里云
|
||||||
|
|
||||||
```
|
```
|
||||||
ENABLE_AUDIO = True
|
ENABLE_AUDIO = True
|
||||||
ALIYUN_TOKEN = "554a50fcd0bb476c8d07bb630e94d20c" # 例如 f37f30e0f9934c34a992f6f64f7eba4f
|
ALIYUN_TOKEN = "554a50fcd0bb476c8d07bb630e94d20c" # 此token已经失效
|
||||||
ALIYUN_APPKEY = "RoPlZrM88DnAFkZK" # 例如 RoPlZrM88DnAFkZK
|
ALIYUN_APPKEY = "RoPlZrM88DnAFkZK" # 此appkey已经失效
|
||||||
```
|
```
|
||||||
|
|
||||||
参考 https://help.aliyun.com/document_detail/450255.html
|
参考 https://help.aliyun.com/document_detail/450255.html
|
||||||
|
Loading…
x
Reference in New Issue
Block a user