From 4df2b90d33ff47217050d4d6830f96de4dcb63f3 Mon Sep 17 00:00:00 2001 From: krator18 <188131736+LatentSpaceDirective@users.noreply.github.com> Date: Sun, 17 Nov 2024 20:41:46 -0500 Subject: [PATCH] added check for gguf, incase it is not installed, texturaizer will stll load --- TEXTURAIZER_load_data.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/TEXTURAIZER_load_data.py b/TEXTURAIZER_load_data.py index 77ce72f..b5d7703 100644 --- a/TEXTURAIZER_load_data.py +++ b/TEXTURAIZER_load_data.py @@ -302,7 +302,10 @@ class Texturaizer_GetModelName(Texturaizer_GetJsonData): data_hash = calculate_data_hash(model) return (data_hash,) -clip_names = folder_paths.get_filename_list("clip") + folder_paths.get_filename_list("clip_gguf") +try: + clip_names = folder_paths.get_filename_list("clip") + folder_paths.get_filename_list("clip_gguf") +except: + clip_names = folder_paths.get_filename_list("clip") class Texturaizer_GetClipModelName(Texturaizer_GetJsonData): """