fix file location (#1239)

This commit is contained in:
Ftps
2023-09-17 07:37:15 +09:00
committed by GitHub
parent 644b595287
commit 09fc351828
4 changed files with 6 additions and 770 deletions

View File

@@ -51,7 +51,7 @@ class VC:
"__type__": "update",
}
if not sid:
if sid == "" or sid == []:
if self.hubert_model is not None: # 考虑到轮询, 需要加个判断看是否 sid 是由有模型切换到无模型的
logger.info("Clean model cache")
del (