Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Commit
•
5a66f3d
1
Parent(s):
4fb0ffb
Update app.py
Browse files
app.py
CHANGED
@@ -407,13 +407,13 @@ def rvc_models(model_name):
|
|
407 |
categories.append(["Models", "", models])
|
408 |
return vc, net_g, index_files, tgt_sr, version
|
409 |
|
410 |
-
|
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/'):
|
|
|
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/'):
|