region:us
!apt-get -y install build-essential python3-dev ffmpeg
!pip3 install --upgrade setuptools wheel
!pip3 install --upgrade pip
!pip3 install faiss-gpu fairseq gradio ffmpeg ffmpeg-python praat-parselmouth pyworld numpy==1.23.5 numba==0.56.4 librosa==0.9.2
!apt -y install -qq aria2
!pip install mega.py --quiet
!pip install pyngrok==4.1.12 --quiet
!pip install gdown --quiet
from IPython.display import clear_output
import os, shutil
clear_output()
%cd /kaggle/working
!wget https://github.com/kalomaze/Retrieval-based-Voice-Conversion-WebUI/releases/download/20230428updated/updated20230428.zip
!mkdir /kaggle/working/Retrieval-based-Voice-Conversion-WebUI
!unzip -d /kaggle/working/Retrieval-based-Voice-Conversion-WebUI -b updated20230428.zip
!rm updated20230428.zip
%cd /kaggle/working/Retrieval-based-Voice-Conversion-WebUI
!wget https://raw.githubusercontent.com/iahispano0/svc-infer/main/easy-infer.py
!mkdir -p pretrained uvr5_weights
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt -d /kaggle/working/Retrieval-based-Voice-Conversion-WebUI -o hubert_base.pt
clear_output()
%cd /kaggle/working/Retrieval-based-Voice-Conversion-WebUI
!python3 easy-infer.py --colab --pycmd python3