Fix imports
Browse files- pipeline.py +2 -1
pipeline.py
CHANGED
@@ -8,7 +8,8 @@ import PIL.Image
|
|
8 |
import torch
|
9 |
from transformers import CLIPImageProcessor, CLIPTextModel, CLIPTokenizer
|
10 |
|
11 |
-
from diffusers.loaders import
|
|
|
12 |
|
13 |
from diffusers import AutoencoderKL, ControlNetModel, DiffusionPipeline, UNet2DConditionModel, logging
|
14 |
from diffusers.pipelines.stable_diffusion import StableDiffusionPipelineOutput, StableDiffusionSafetyChecker
|
|
|
8 |
import torch
|
9 |
from transformers import CLIPImageProcessor, CLIPTextModel, CLIPTokenizer
|
10 |
|
11 |
+
from diffusers.loaders import TextualInversionLoaderMixin
|
12 |
+
# from diffusers.loaders import FromCkptMixin, LoraLoaderMixin, TextualInversionLoaderMixin
|
13 |
|
14 |
from diffusers import AutoencoderKL, ControlNetModel, DiffusionPipeline, UNet2DConditionModel, logging
|
15 |
from diffusers.pipelines.stable_diffusion import StableDiffusionPipelineOutput, StableDiffusionSafetyChecker
|