From de5000111e23db62689613a0ec1343ac3be21bfe Mon Sep 17 00:00:00 2001 From: matt3o Date: Fri, 12 Apr 2024 19:06:27 +0200 Subject: [PATCH] remove unnecessary code --- IPAdapterPlus.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/IPAdapterPlus.py b/IPAdapterPlus.py index 25a4367..51beeb6 100644 --- a/IPAdapterPlus.py +++ b/IPAdapterPlus.py @@ -572,8 +572,6 @@ class IPAdapterSimple: CATEGORY = "ipadapter" def apply_ipadapter(self, model, ipadapter, image, weight, start_at, end_at, weight_type, attn_mask=None): - is_sdxl = isinstance(model.model, (comfy.model_base.SDXL, comfy.model_base.SDXLRefiner, comfy.model_base.SDXL_instructpix2pix)) - if weight_type.startswith("style"): weight_type = "style transfer" elif weight_type == "prompt is more important":