fix: change order in requirement.txt

This commit is contained in:
lanvent
2023-03-30 00:24:31 +08:00
parent 62df27eaa1
commit 90ccb091ca
2 changed files with 10 additions and 4 deletions

View File

@@ -80,9 +80,15 @@ cd chatgpt-on-wechat/
pip3 install -r requirements.txt
```
其中`tiktoken`要求`python`版本在3.8以上它用于精确计算会话使用的tokens数量可以不装但建议安装。
**(3) 拓展依赖 (可选)**
语音识别及语音回复功能需安装`ffmpeg`,参考[#415](https://github.com/zhayujie/chatgpt-on-wechat/issues/415)
使用`google``baidu`语音识别需安装`ffmpeg`
默认的`openai`语音识别不需要安装`ffmpeg`
参考[#415](https://github.com/zhayujie/chatgpt-on-wechat/issues/415)
## 配置

View File

@@ -8,9 +8,9 @@ pysilk>=0.0.1
pysilk_mod>=1.6.0
pyttsx3>=2.90
requests>=2.28.2
SpeechRecognition>=3.10.0
tiktoken>=0.3.2
webuiapi>=0.6.2
wechaty>=0.10.7
wechaty_puppet>=0.4.23
chardet>=5.1.0
chardet>=5.1.0
SpeechRecognition
tiktoken>=0.3.2