From 3ac04864e82d7b2f11cc02d38b301ab840f3efab Mon Sep 17 00:00:00 2001 From: bojiang Date: Wed, 11 Dec 2024 11:28:29 +0800 Subject: [PATCH] fix: model not found --- nodes/service.py | 2 ++ web/main.js | 3 +++ 2 files changed, 5 insertions(+) diff --git a/nodes/service.py b/nodes/service.py index 391eae7..f96eba2 100644 --- a/nodes/service.py +++ b/nodes/service.py @@ -138,6 +138,8 @@ class ComfyService: install_comfyui(snapshot, comfy_workspace, verbose=verbose) for model in snapshot["models"]: + if model.get("disabled"): + continue model_tag = model.get("model_tag") if not model_tag: logger.warning( diff --git a/web/main.js b/web/main.js index 6511b0e..324f165 100644 --- a/web/main.js +++ b/web/main.js @@ -785,6 +785,9 @@ async function createBuildingModal(data) { body.innerHTML = `

+  

+ Initial model pushing may take several minutes. Models are cached and will be reused in subsequent pushing. +

`; const buttonContainer = document.createElement("div");