Mac下部署OmniVoice语音克隆服务
1、克隆项目
git clone https://github.com/k2-fsa/OmniVoice.git
2、创建uv虚拟环境并激活
cd OmniVoice
uv venv --python 3.11&& source .venv/bin/activate
3、安装Mac版的torch、torchaudio
uv pip install torch==2.8.0 torchaudio==2.8.0
4、安装OmniVoice
uv sync
5、下载模型(关闭科学上网,停止https,http代理)
export HF_ENDPOINT="https://hf-mirror.com"
hf download k2-fsa/OmniVoice
6、启动服务
omnivoice-demo --ip 0.0.0.0 --port 8001
评论
发表评论