forked from ArkanDash/Advanced-RVC-Inference
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodels.py
More file actions
38 lines (26 loc) · 638 Bytes
/
models.py
File metadata and controls
38 lines (26 loc) · 638 Bytes
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
import subprocess
command1 = [
"aria2c",
"--console-log-level=error",
"-c",
"-x", "16",
"-s", "16",
"-k", "1M",
"https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt",
"-d", "/content/Advanced-RVC-Inference",
"-o", "hubert_base.pt"
]
command2 = [
"aria2c",
"--console-log-level=error",
"-c",
"-x", "16",
"-s", "16",
"-k", "1M",
"https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/rmvpe.pt",
"-d", "/content/Advanced-RVC-Inference",
"-o", "rmvpe.pt"
]
subprocess.run(command1)
subprocess.run(command2)
print("done")