File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
import diffusers
4
4
import torch
5
5
from diffusers .configuration_utils import ConfigMixin , register_to_config
6
- from diffusers .loaders import FromOriginalControlNetMixin
6
+ from diffusers .loaders . single_file_model import FromOriginalModelMixin
7
7
from diffusers .models .attention_processor import AttentionProcessor , AttnProcessor
8
8
from diffusers .models .controlnet import ControlNetConditioningEmbedding , ControlNetOutput , zero_module
9
9
from diffusers .models .embeddings import (
32
32
logger = InvokeAILogger .get_logger (__name__ )
33
33
34
34
35
- class ControlNetModel (ModelMixin , ConfigMixin , FromOriginalControlNetMixin ):
35
+ class ControlNetModel (ModelMixin , ConfigMixin , FromOriginalModelMixin ):
36
36
"""
37
37
A ControlNet model.
38
38
You can’t perform that action at this time.
0 commit comments