Qing 2023-07-18 21:44:07 +08:00
parent 5d988dc5fd
commit 12384c84ea

View File

@ -85,6 +85,9 @@ class ModelManager:
return return
if self.kwargs["sd_controlnet_method"] == control_method: if self.kwargs["sd_controlnet_method"] == control_method:
return return
if not hasattr(self.model, "is_local_sd_model"):
return
if self.model.is_local_sd_model: if self.model.is_local_sd_model:
# is_native_control_inpaint 表示加载了普通 SD 模型 # is_native_control_inpaint 表示加载了普通 SD 模型
if ( if (