mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-08-12 08:50:15 -03:00
feat(nodes): flag missing local models at queue and load time (#1057)
This commit is contained in:
@@ -74,7 +74,10 @@ class UNETLoaderLM:
|
||||
for item in cache.raw_data:
|
||||
if item.get("sub_type") == "diffusion_model":
|
||||
file_path = item.get("file_path", "")
|
||||
if file_path:
|
||||
# Only offer models that still exist on disk so ComfyUI
|
||||
# flags missing diffusion models at queue time via
|
||||
# "value not in list" (the scanner cache can be stale).
|
||||
if file_path and os.path.exists(file_path):
|
||||
# Format using relative path with OS-native separator
|
||||
formatted_name = _format_model_name_for_comfyui(
|
||||
file_path, model_roots
|
||||
|
||||
Reference in New Issue
Block a user