added check for gguf, incase it is not installed, texturaizer will stll load
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user