added check for gguf, incase it is not installed, texturaizer will stll load

This commit is contained in:
krator18
2024-11-17 20:41:46 -05:00
parent db244444b4
commit 4df2b90d33
+4 -1
View File
@@ -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):
"""