Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Commit
•
f961622
1
Parent(s):
da02b09
Update app.py
Browse files
app.py
CHANGED
@@ -85,9 +85,14 @@ else:
|
|
85 |
hubert_model.eval()
|
86 |
'''
|
87 |
|
88 |
-
from infer_rvc_python.main import load_hu_bert
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
|
90 |
-
load_hu_bert(config, "hubert_base.pt")
|
91 |
|
92 |
def get_file_name(url):
|
93 |
match = re.search(pattern_zip, url)
|
|
|
85 |
hubert_model.eval()
|
86 |
'''
|
87 |
|
88 |
+
#from infer_rvc_python.main import load_hu_bert
|
89 |
+
|
90 |
+
#load_hu_bert(config, "hubert_base.pt")
|
91 |
+
|
92 |
+
from infer_rvc_python import BaseLoader
|
93 |
+
|
94 |
+
BaseLoader(only_cpu=False, hubert_path="hubert_base.pt", rmvpe_path="rmvpe.pt")
|
95 |
|
|
|
96 |
|
97 |
def get_file_name(url):
|
98 |
match = re.search(pattern_zip, url)
|