|
#!/bin/bash |
|
project=project |
|
if [ -d "$project" ]; then |
|
echo "$project already exists" |
|
cd $project |
|
git pull --recurse-submodules |
|
git submodule update --recursive |
|
git submodule sync |
|
else |
|
git clone https://github.com/SuCicada/so-vits-svc.git -b 4.0 --recurse-submodules $project |
|
cd $project |
|
fi |
|
|
|
pip install -r requirements.txt |
|
pip install pydub soundfile gtts |
|
pip install gradio==3.27.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pip install sumake |
|
sumake lain_download |
|
|
|
python tools/lain_gradio.py --model_path models/G_256800_infer.pth --config_path models/config.json --cluster_model_path models/kmeans_10000.pt --hubert_model_path models/checkpoint_best_legacy_500.pt |
|
|