Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,6 +15,7 @@ subprocess.run(["huggingface-cli", "login", "--token", token])
|
|
| 15 |
command = f"curl -L -H 'Authorization: Bearer {token}' 'https://huggingface.co/spaces/smjain/Advanced-RVC-Inference/resolve/main/trips.pth' -o ./weights/trips.pth"
|
| 16 |
command1 = f"curl -L -H 'Authorization: Bearer {token}' 'https://huggingface.co/spaces/smjain/Advanced-RVC-Inference/resolve/main/modi.pth' -o ./weights/modi.pth"
|
| 17 |
command2 = f"curl -L -H 'Authorization: Bearer {token}' 'https://huggingface.co/spaces/smjain/Advanced-RVC-Inference/resolve/main/khujli.pth' -o ./weights/khujli.pth"
|
|
|
|
| 18 |
|
| 19 |
|
| 20 |
|
|
@@ -24,6 +25,7 @@ os.system("aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://hugging
|
|
| 24 |
os.system(command)
|
| 25 |
os.system(command1)
|
| 26 |
os.system(command2)
|
|
|
|
| 27 |
#os.system("aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/spaces/smjain/Advanced-RVC-Inference/resolve/main/trips.pth -d ./weights -o trips.pth")
|
| 28 |
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")
|
| 29 |
|
|
|
|
| 15 |
command = f"curl -L -H 'Authorization: Bearer {token}' 'https://huggingface.co/spaces/smjain/Advanced-RVC-Inference/resolve/main/trips.pth' -o ./weights/trips.pth"
|
| 16 |
command1 = f"curl -L -H 'Authorization: Bearer {token}' 'https://huggingface.co/spaces/smjain/Advanced-RVC-Inference/resolve/main/modi.pth' -o ./weights/modi.pth"
|
| 17 |
command2 = f"curl -L -H 'Authorization: Bearer {token}' 'https://huggingface.co/spaces/smjain/Advanced-RVC-Inference/resolve/main/khujli.pth' -o ./weights/khujli.pth"
|
| 18 |
+
command3 = f"curl -L -H 'Authorization: Bearer {token}' 'https://huggingface.co/spaces/smjain/Advanced-RVC-Inference/resolve/main/kishorkumar.pth' -o ./weights/kishorkumar.pth"
|
| 19 |
|
| 20 |
|
| 21 |
|
|
|
|
| 25 |
os.system(command)
|
| 26 |
os.system(command1)
|
| 27 |
os.system(command2)
|
| 28 |
+
os.system(command3)
|
| 29 |
#os.system("aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/spaces/smjain/Advanced-RVC-Inference/resolve/main/trips.pth -d ./weights -o trips.pth")
|
| 30 |
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")
|
| 31 |
|