Skip to content

Commit bdf238c

Browse files
committed
fix 'weights/[]'
1 parent ebd938f commit bdf238c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infer-web.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def uvr(model_name,inp_root,save_root_vocal,paths,save_root_ins):
146146
#一个选项卡全局只能有一个音色
147147
def get_vc(sid):
148148
global n_spk,tgt_sr,net_g,vc,cpt
149-
if(sid==""):
149+
if(sid==[]):
150150
global hubert_model
151151
print("clean_empty_cache")
152152
del net_g, n_spk, vc, hubert_model,tgt_sr#,cpt

0 commit comments

Comments
 (0)