update: 更新部署文档

This commit is contained in:
killua 2024-05-23 11:48:05 +08:00
parent 0756725cd1
commit 3b9cc44e4c
1 changed files with 18 additions and 1 deletions

View File

@ -138,6 +138,15 @@ cd TakwayPlatform/
pip install -r requirements.txt
```
5. debug
若出现AttributeError: module 'botocore.exceptions' has no attribute 'HTTPClientError'异常
则执行下述命令
``` shell
pip uninstall botocore
pip install botocore==1.34.88
```
#### (4) 安装FunASR
本项目使用的FunASRE在github上的FunASR的基础上做了一些修改
@ -166,7 +175,15 @@ pip install -v -e .
从[链接](https://myshell-public-repo-hosting.s3.amazonaws.com/openvoice/checkpoints_v2_0417.zip)下载model文件并放入该文件夹下
#### (8) 启动程序
#### (8) 添加配置环境变量
``` shell
vim ~/.bashrc
在最后添加
export MODE=development
```
#### (9) 启动程序
``` shell
cd TakwayPlatform