Next commited on
Commit
30ec2d1
1 Parent(s): 33b7ed1

Update infer.py

Browse files
Files changed (1) hide show
  1. infer.py +8 -0
infer.py CHANGED
@@ -16,6 +16,14 @@ from urllib.parse import urlparse
16
  from mega import Mega
17
  from Applio import *
18
 
 
 
 
 
 
 
 
 
19
  now_dir = os.getcwd()
20
  tmp = os.path.join(now_dir, "TEMP")
21
  shutil.rmtree(tmp, ignore_errors=True)
 
16
  from mega import Mega
17
  from Applio import *
18
 
19
+
20
+ os.system("aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt -d . -o hubert_base.pt")
21
+ os.system("aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/rmvpe.pt -d . -o rmvpe.pt")
22
+ os.system("aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/sail-rvc/yoimiya-jp/resolve/main/model.pth -d ./weights -o yoimiya.pth")
23
+ os.system("aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/sail-rvc/yoimiya-jp/resolve/main/model.index -d ./weights/index -o yoimiya.index")
24
+
25
+
26
+
27
  now_dir = os.getcwd()
28
  tmp = os.path.join(now_dir, "TEMP")
29
  shutil.rmtree(tmp, ignore_errors=True)