File size: 821 Bytes
899fbd2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d747db4
 
 
 
 
 
 
 
 
 
899fbd2
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
@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%
)

set RINNE_RVC=RinneRVC-20230410
if not exist .\Rinne.pth (
	if not exist .\%RINNE_RVC%.zip (
		curl -LO https://huggingface.co/RinneAi/RinneVoiceSet/resolve/main/%RINNE_RVC%.zip
	)
	PowerShell -Version 5.1 -ExecutionPolicy Bypass Expand-Archive -Path %RINNE_RVC%.zip -DestinationPath .
	move %RINNE_RVC%\* .
	rd %RINNE_RVC%\
)

if not exist %RVC_DIR%\weights\Rinne.pth (
	copy .\Rinne.pth %RVC_DIR%\weights\
)

popd

cd %~dp0%RVC_DIR%
start go-web.bat