本文介绍: pip install –upgrade —nodeps –forcereinstall git+https://github.com/openai/whisper.git这个过程需要很长时间,耐心等等。6、安装setuptoolsrust。1、需要py3.8环境。4、安装whisper。5、安装ffmpeg。会逐步输出语音内容

项目地址GitHub – openai/whisper: Robust Speech Recognition via Large-Scale Weak Supervision

1、需要py3.8环境

conda activate p38

2、安装

pip install -U openai-whisper

3、下载项目

 pip install git+https://github.com/openai/whisper.git

4、安装whisper

pip install –upgrade –no-deps –forcereinstall git+https://github.com/openai/whisper.git这个过程需要很长时间,耐心等等

5、安装ffmpeg

brew install ffmpeg

6、安装setuptoolsrust

pip install setuptools-rust

7、测试

whisper –help

8、测试语音文本

whisper test.m4a  —language  zh

会逐步输出语音内容

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注