diff --git a/CODEOWNERS b/CODEOWNERS index 4d544863643b..e693955a021b 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1,2 +1,2 @@ # Admins -* @comfyanonymous @kosinkadink @guill +* @comfyanonymous @kosinkadink @guill @alexisrolland @rattus128 diff --git a/comfy/lora.py b/comfy/lora.py index 63ee85323a05..e4337c729b0c 100644 --- a/comfy/lora.py +++ b/comfy/lora.py @@ -342,6 +342,12 @@ def model_lora_keys_unet(model, key_map={}): key_map["base_model.model.{}".format(key_lora)] = k # Official base model loras key_map["lycoris_{}".format(key_lora.replace(".", "_"))] = k # LyCORIS/LoKR format + if isinstance(model, comfy.model_base.ErnieImage): + for k in sdk: + if k.startswith("diffusion_model.") and k.endswith(".weight"): + key_lora = k[len("diffusion_model."):-len(".weight")] + key_map["transformer.{}".format(key_lora)] = k + return key_map diff --git a/comfy_api/latest/_input_impl/video_types.py b/comfy_api/latest/_input_impl/video_types.py index 9a107fb763fe..942278d88bdb 100644 --- a/comfy_api/latest/_input_impl/video_types.py +++ b/comfy_api/latest/_input_impl/video_types.py @@ -290,7 +290,7 @@ def get_components_internal(self, container: InputContainer) -> VideoComponents: alphas = [] alpha_channel = True break - if frame.format.name in ("yuvj420p", "rgb24", "rgba", "pal8"): + if frame.format.name in ("yuvj420p", "yuvj422p", "yuvj444p", "rgb24", "rgba", "pal8"): process_image_format = lambda a: a.float() / 255.0 if alpha_channel: image_format = 'rgba' diff --git a/requirements.txt b/requirements.txt index c3d51e2fa5e2..cb85d970b0b6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ comfyui-frontend-package==1.42.15 -comfyui-workflow-templates==0.9.63 +comfyui-workflow-templates==0.9.65 comfyui-embedded-docs==0.4.4 torch torchsde