From a52f10255a119dc5c0a6c54e43e207b767350d64 Mon Sep 17 00:00:00 2001 From: yolain Date: Thu, 17 Oct 2024 20:57:39 +0800 Subject: [PATCH] Fix CLIP is not required on easy pipeIn #482 --- py/easyNodes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/py/easyNodes.py b/py/easyNodes.py index 8a8c5af..52468ec 100644 --- a/py/easyNodes.py +++ b/py/easyNodes.py @@ -6878,9 +6878,9 @@ class pipeIn: vae = vae if vae is not None else pipe.get("vae") if vae is None: log_node_warn(f'pipeIn[{my_unique_id}]', "VAE missing from pipeLine") - clip = clip if clip is not None else pipe.get("clip") - if clip is None: - log_node_warn(f'pipeIn[{my_unique_id}]', "Clip missing from pipeLine") + clip = clip if clip is not None else pipe.get("clip") if pipe is not None and "clip" in pipe else None + # if clip is None: + # log_node_warn(f'pipeIn[{my_unique_id}]', "Clip missing from pipeLine") if latent is not None: samples = latent elif image is None: