Update hico_pipeline.py
Browse files- hico_pipeline.py +5 -1
hico_pipeline.py
CHANGED
@@ -27,11 +27,15 @@ from diffusers.loaders import FromSingleFileMixin, LoraLoaderMixin, TextualInver
|
|
27 |
from diffusers.models import AutoencoderKL, ControlNetModel, UNet2DConditionModel
|
28 |
from diffusers.models.lora import adjust_lora_scale_text_encoder
|
29 |
from diffusers.schedulers import KarrasDiffusionSchedulers
|
30 |
-
from diffusers.utils
|
31 |
deprecate,
|
32 |
is_accelerate_available,
|
33 |
is_accelerate_version,
|
34 |
logging,
|
|
|
|
|
|
|
|
|
35 |
randn_tensor,
|
36 |
replace_example_docstring,
|
37 |
)
|
|
|
27 |
from diffusers.models import AutoencoderKL, ControlNetModel, UNet2DConditionModel
|
28 |
from diffusers.models.lora import adjust_lora_scale_text_encoder
|
29 |
from diffusers.schedulers import KarrasDiffusionSchedulers
|
30 |
+
from diffusers.utils import (
|
31 |
deprecate,
|
32 |
is_accelerate_available,
|
33 |
is_accelerate_version,
|
34 |
logging,
|
35 |
+
)
|
36 |
+
from diffusers.utils.torch_utils import (
|
37 |
+
|
38 |
+
logging,
|
39 |
randn_tensor,
|
40 |
replace_example_docstring,
|
41 |
)
|