Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -367,6 +367,7 @@ def load_hubert():
|
|
367 |
hubert_model.eval()
|
368 |
print(hubert_model)
|
369 |
|
|
|
370 |
print(hubert_model)
|
371 |
|
372 |
def rvc_models(model_name):
|
@@ -446,7 +447,6 @@ def infer_gpu(hubert_model, net_g, audio, f0_up_key, index_file, tgt_sr, version
|
|
446 |
)
|
447 |
|
448 |
def rvc_infer_music(url, model_name, song_name, split_model, f0_up_key, vocal_volume, inst_volume):
|
449 |
-
#load_hubert()
|
450 |
url = url.strip().replace(" ", "")
|
451 |
model_name = model_name.strip().replace(" ", "")
|
452 |
if url.startswith('https://download.openxlab.org.cn/models/'):
|
|
|
367 |
hubert_model.eval()
|
368 |
print(hubert_model)
|
369 |
|
370 |
+
load_hubert()
|
371 |
print(hubert_model)
|
372 |
|
373 |
def rvc_models(model_name):
|
|
|
447 |
)
|
448 |
|
449 |
def rvc_infer_music(url, model_name, song_name, split_model, f0_up_key, vocal_volume, inst_volume):
|
|
|
450 |
url = url.strip().replace(" ", "")
|
451 |
model_name = model_name.strip().replace(" ", "")
|
452 |
if url.startswith('https://download.openxlab.org.cn/models/'):
|