From 6cd5c7a76003f7f7326b91b7480fee59398dc7ef Mon Sep 17 00:00:00 2001 From: Stephen <103328915+stephengoodman@users.noreply.github.com> Date: Thu, 26 Jan 2023 14:12:45 -0500 Subject: [PATCH] Update import to nested path (#109) * Update import to nested path * Update python_coreml_stable_diffusion/unet.py Co-authored-by: Pedro Cuenca Co-authored-by: Atila Orhon <64497909+atiorh@users.noreply.github.com> Co-authored-by: Pedro Cuenca --- python_coreml_stable_diffusion/unet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_coreml_stable_diffusion/unet.py b/python_coreml_stable_diffusion/unet.py index f75c7f2..5337503 100644 --- a/python_coreml_stable_diffusion/unet.py +++ b/python_coreml_stable_diffusion/unet.py @@ -6,7 +6,7 @@ from python_coreml_stable_diffusion.layer_norm import LayerNormANE from diffusers.configuration_utils import ConfigMixin, register_to_config -from diffusers.modeling_utils import ModelMixin +from diffusers import ModelMixin from enum import Enum