Make sure loras for concept are in concept folder

This commit is contained in:
sn0w12
2024-02-16 14:11:35 +01:00
parent 69b5adb638
commit 96a9c8fed5
+2 -2
View File
@@ -74,8 +74,8 @@ class LoadLoraConceptNode:
# Retrieve the full list of lora paths
full_lora_paths = folder_paths.get_filename_list("loras")
lora_paths = folder_paths.get_filename_list("loras_xl" if xl else "loras_15")
# lora_paths = [path for path in filtered_lora_paths if "concept" in path.lower()]
filtered_lora_paths = folder_paths.get_filename_list("loras_xl" if xl else "loras_15")
lora_paths = [path for path in filtered_lora_paths if "concept" in path.lower()]
found_full_lora_paths = []