Lain-vits / run.sh
SuCicada's picture
run.sh
e3a7278
raw
history blame contribute delete
595 Bytes
#!/bin/bash
project=project
if [ -d "SuTTS" ]; then
echo "SuTTS already exists"
cd $project
git pull --recurse-submodules
git submodule update --recursive
git submodule sync
else
git clone https://github.com/Plachtaa/VITS-fast-fine-tuning.git --recurse-submodules $project
git checkout 0fe10b449e673cbbd0ddb3b4fe4967e4f7096a09
cd $project
fi
#pip install -r requirements.txt
cd monotonic_align/
mkdir monotonic_align
python setup.py build_ext --inplace
cd ..
cp scripts/VC_inference.py .
python VC_inference.py --model_dir ../G_latest.pth --config_dir ../finetune_speaker.json