Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Commit
•
fa0aaa7
1
Parent(s):
b9e62bc
Update app.py
Browse files
app.py
CHANGED
@@ -407,12 +407,13 @@ def rvc_models(model_name):
|
|
407 |
categories.append(["Models", "", models])
|
408 |
return vc, net_g, index_files, tgt_sr, version
|
409 |
|
410 |
-
load_hubert()
|
411 |
|
412 |
singers="您的专属AI歌手阵容:"
|
413 |
|
414 |
@spaces.GPU(duration=180)
|
415 |
def rvc_infer_music(url, model_name, song_name, split_model, f0_up_key, vocal_volume, inst_volume):
|
|
|
416 |
url = url.strip().replace(" ", "")
|
417 |
model_name = model_name.strip().replace(" ", "")
|
418 |
if url.startswith('https://download.openxlab.org.cn/models/'):
|
|
|
407 |
categories.append(["Models", "", models])
|
408 |
return vc, net_g, index_files, tgt_sr, version
|
409 |
|
410 |
+
#load_hubert()
|
411 |
|
412 |
singers="您的专属AI歌手阵容:"
|
413 |
|
414 |
@spaces.GPU(duration=180)
|
415 |
def rvc_infer_music(url, model_name, song_name, split_model, f0_up_key, vocal_volume, inst_volume):
|
416 |
+
load_hubert()
|
417 |
url = url.strip().replace(" ", "")
|
418 |
model_name = model_name.strip().replace(" ", "")
|
419 |
if url.startswith('https://download.openxlab.org.cn/models/'):
|