remove unnecessary code

This commit is contained in:
matt3o
2024-04-12 19:06:27 +02:00
parent b167521541
commit de5000111e
-2
View File
@@ -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":