diff --git a/README.md b/README.md index c245547..b45afd3 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,8 @@ cd TakwayAI/ pip install -r requirements.txt ``` +#### (3) 修改配置 - - - +1. 安装mysql,在mysql中创建名为takway的数据库 +2. 安装redis,将密码设置为takway +3. 打开config中的development.py文件修改mysql和redis连接字符串 diff --git a/requirements.txt b/requirements.txt index 1d59c43..171ef6a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ uvicorn fastapi +pymysql sqlalchemy pydantic redis @@ -16,4 +17,4 @@ librosa torch numba soundfile -webrtcvad \ No newline at end of file +webrtcvad