mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-06-02 00:57:41 +08:00
fix: change order in requirement.txt
This commit is contained in:
@@ -80,9 +80,15 @@ cd chatgpt-on-wechat/
|
|||||||
pip3 install -r requirements.txt
|
pip3 install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
其中`tiktoken`要求`python`版本在3.8以上,它用于精确计算会话使用的tokens数量,可以不装但建议安装。
|
||||||
|
|
||||||
**(3) 拓展依赖 (可选):**
|
**(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)
|
||||||
|
|
||||||
## 配置
|
## 配置
|
||||||
|
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ pysilk>=0.0.1
|
|||||||
pysilk_mod>=1.6.0
|
pysilk_mod>=1.6.0
|
||||||
pyttsx3>=2.90
|
pyttsx3>=2.90
|
||||||
requests>=2.28.2
|
requests>=2.28.2
|
||||||
SpeechRecognition>=3.10.0
|
|
||||||
tiktoken>=0.3.2
|
|
||||||
webuiapi>=0.6.2
|
webuiapi>=0.6.2
|
||||||
wechaty>=0.10.7
|
wechaty>=0.10.7
|
||||||
wechaty_puppet>=0.4.23
|
wechaty_puppet>=0.4.23
|
||||||
chardet>=5.1.0
|
chardet>=5.1.0
|
||||||
|
SpeechRecognition
|
||||||
|
tiktoken>=0.3.2
|
||||||
Reference in New Issue
Block a user