@echo off | |
pushd %~dp0 | |
set SEVEN_ZIP=7zr.exe | |
if not exist %SEVEN_ZIP% ( | |
curl -LO https://www.7-zip.org/a/7zr.exe | |
) | |
set RVC_ZIP=RVC-beta.7z | |
if not exist %RVC_ZIP% ( | |
curl -LO https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/%RVC_ZIP% | |
) | |
set RVC_DIR=RVC-beta | |
if not exist %RVC_DIR%\ ( | |
%SEVEN_ZIP% x %RVC_ZIP% | |
) | |
if not exist %RVC_DIR%\weights\Rinne.pth ( | |
copy .\Rinne.pth %RVC_DIR%\weights\ | |
) | |
popd | |
cd %~dp0%RVC_DIR% | |
start go-web.bat | |