fix 'weights/[]'

This commit is contained in:
vior 2023-04-05 22:58:49 +08:00
parent ebd938ff78
commit bdf238cccb
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ def uvr(model_name,inp_root,save_root_vocal,paths,save_root_ins):
#一个选项卡全局只能有一个音色
def get_vc(sid):
global n_spk,tgt_sr,net_g,vc,cpt
if(sid==""):
if(sid==[]):
global hubert_model
print("clean_empty_cache")
del net_g, n_spk, vc, hubert_model,tgt_sr#,cpt