added openvoice container

This commit is contained in:
Dobromir Popov
2024-01-29 11:55:33 +02:00
parent 4078ed67fe
commit 7bb857a384
6 changed files with 62 additions and 1 deletions

29
tts/openvoice/install Normal file
View File

@@ -0,0 +1,29 @@
# experimental
conda create -n openvoice python=3.9
conda activate openvoice
conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia
pip install -r requirements.txt
# git clone https://github.com/myshell-ai/OpenVoice.git
!git clone -b dev https://github.com/camenduru/OpenVoice
%cd /content/OpenVoice
!apt -y install -qq aria2
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/camenduru/OpenVoice/resolve/main/checkpoints_1226.zip -d /content -o checkpoints_1226.zip
!unzip /content/checkpoints_1226.zip
!pip install -q gradio==3.50.2 langid faster-whisper whisper-timestamped unidecode eng-to-ipa pypinyin cn2an
!python openvoice_app.py --share
# colab:
%cd /content
!git clone -b dev https://github.com/camenduru/OpenVoice
%cd /content/OpenVoice
!apt -y install -qq aria2
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/camenduru/OpenVoice/resolve/main/checkpoints_1226.zip -d /content -o checkpoints_1226.zip
!unzip /content/checkpoints_1226.zip
!pip install -q gradio==3.50.2 langid faster-whisper whisper-timestamped unidecode eng-to-ipa pypinyin cn2an
!python openvoice_app.py --share