个人网站如何建设,电子商务网站建设的步骤一般分为,网站 空间 备案,微信管理1.安装ffmpeg
2.安装python3.11
3.安装whisper
pip install whisper conda环境安装whisper conda install whisper 命令行安装openai-whisper
pip install openai-whisper 设置环境变量 4.分析语音并输出(默认使用GPU计算#xff0c;如果没有安装CUDA,请使用CPU) whisper …1.安装ffmpeg
2.安装python3.11
3.安装whisper
pip install whisper conda环境安装whisper conda install whisper 命令行安装openai-whisper
pip install openai-whisper 设置环境变量 4.分析语音并输出(默认使用GPU计算如果没有安装CUDA,请使用CPU) whisper ./test.m4a --model small --output_format srt --language Chinese 5.使用CPU计算分析音频并输出
whisper ./test.m4a --model small --output_format srt --language Chinese --device cpu CPU分析音频会比GPU慢
使用python脚本操作whisper: