mirror of
https://github.com/jags111/efficiency-nodes-comfyui.git
synced 2026-03-25 15:15:45 -03:00
Removed unnecessary null check
This commit is contained in:
@@ -100,9 +100,9 @@ class TSC_EfficientLoader:
|
|||||||
if lora_stack:
|
if lora_stack:
|
||||||
lora_params.extend(lora_stack)
|
lora_params.extend(lora_stack)
|
||||||
|
|
||||||
# If there are any parameters in lora_params, load the LoRa with them.
|
# Load LoRa(s)
|
||||||
if lora_params:
|
model, clip = load_lora(lora_params, ckpt_name, my_unique_id, cache=lora_cache, ckpt_cache=ckpt_cache, cache_overwrite=True)
|
||||||
model, clip = load_lora(lora_params, ckpt_name, my_unique_id, cache=lora_cache, ckpt_cache=ckpt_cache, cache_overwrite=True)
|
|
||||||
if vae_name == "Baked VAE":
|
if vae_name == "Baked VAE":
|
||||||
vae = get_bvae_by_ckpt_name(ckpt_name)
|
vae = get_bvae_by_ckpt_name(ckpt_name)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user