Mac M4 Mini下部署whisper-mlx语音识别服务
1、创建并激活虚拟环境
uv venv
source .venv/bin/activate
2、安装依赖库
uv pip install -U huggingface_hub
export HF_ENDPOINT=https://hf-mirror.com
(方便国内环境模型下载)
3、安装whisper-mlx
uv pip install mlx-whisper
4、运行命令
mlx_whisper ./audio/lvpeng01.mp3 --model mlx-community/whisper-large-v3-mlx
评论
发表评论