mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-01-01 12:35:04 +08:00
fix bug
This commit is contained in:
parent
bdf238cccb
commit
86f76f8a03
@ -149,7 +149,7 @@ def get_vc(sid):
|
||||
if(sid==[]):
|
||||
global hubert_model
|
||||
print("clean_empty_cache")
|
||||
del net_g, n_spk, vc, hubert_model,tgt_sr#,cpt
|
||||
del n_spk, vc, hubert_model,tgt_sr#,cpt
|
||||
hubert_model = net_g=n_spk=vc=hubert_model=tgt_sr=None
|
||||
torch.cuda.empty_cache()
|
||||
###楼下不这么折腾清理不干净
|
||||
|
Loading…
Reference in New Issue
Block a user