Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Commit
•
278daaa
1
Parent(s):
f961622
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ hubert_model.eval()
|
|
91 |
|
92 |
from infer_rvc_python import BaseLoader
|
93 |
|
94 |
-
BaseLoader(only_cpu=
|
95 |
|
96 |
|
97 |
def get_file_name(url):
|
@@ -498,7 +498,7 @@ def infer_gpu(hubert_model, net_g, audio, f0_up_key, index_file, tgt_sr, version
|
|
498 |
|
499 |
def rvc_infer_music(url, model_name, song_name, split_model, f0_up_key, vocal_volume, inst_volume):
|
500 |
#load_hubert()
|
501 |
-
|
502 |
url = url.strip().replace(" ", "")
|
503 |
model_name = model_name.strip().replace(" ", "")
|
504 |
if url.startswith('https://download.openxlab.org.cn/models/'):
|
|
|
91 |
|
92 |
from infer_rvc_python import BaseLoader
|
93 |
|
94 |
+
BaseLoader(only_cpu=True, hubert_path="hubert_base.pt", rmvpe_path="rmvpe.pt")
|
95 |
|
96 |
|
97 |
def get_file_name(url):
|
|
|
498 |
|
499 |
def rvc_infer_music(url, model_name, song_name, split_model, f0_up_key, vocal_volume, inst_volume):
|
500 |
#load_hubert()
|
501 |
+
print(hubert_model)
|
502 |
url = url.strip().replace(" ", "")
|
503 |
model_name = model_name.strip().replace(" ", "")
|
504 |
if url.startswith('https://download.openxlab.org.cn/models/'):
|