Update LoraLoaderTextRandom.py

This commit is contained in:
lilly
2023-03-21 06:20:04 +09:00
parent 35efbbe2af
commit 1d27ed38d0
+1 -1
View File
@@ -52,7 +52,7 @@ class LoraLoaderTextRandom:
model_lora, clip_lora = comfy.sd.load_lora_for_models(model, clip, lora_path, strength_model, strength_clip) model_lora, clip_lora = comfy.sd.load_lora_for_models(model, clip, lora_path, strength_model, strength_clip)
return (model_lora, clip_lora) return (model_lora, clip_lora)
except Exception as e: except Exception as e:
print("LoraLoaderTextRandom Exception : "+ e) print(f"LoraLoaderTextRandom Exception : {e}" )
return (strength_model, strength_clip) return (strength_model, strength_clip)
#NODE_CLASS_MAPPINGS = { #NODE_CLASS_MAPPINGS = {