[voice] fix google voice exception issue

This commit is contained in:
wanggang
2023-03-07 14:42:06 +08:00
parent d38fc61043
commit 1711a5c064
2 changed files with 7 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ pip3 install itchat-uos==1.5.0.dev0
pip3 install --upgrade openai
如果使用google的语音识别需要安装speech_recognition和依赖的ffmpeg
pip3 install speech_recognition
pip3 install SpeechRecognition
--在MacOS中安装ffmpegbrew install ffmpeg
--在Windows中安装ffmpeg下载ffmpeg.exe
--在Linux中安装ffmpegapt-get install ffmpeg