Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -39,7 +39,7 @@ def retrieve_timesteps(
|
|
39 |
return timesteps, num_inference_steps
|
40 |
|
41 |
|
42 |
-
class
|
43 |
model_cpu_offload_seq = "text_encoder->text_encoder_2->unet->vae"
|
44 |
_optional_components = [
|
45 |
"tokenizer",
|
|
|
39 |
return timesteps, num_inference_steps
|
40 |
|
41 |
|
42 |
+
class StableDiffusionXLControlNetPipeline(DiffusionPipeline, StableDiffusionMixin):
|
43 |
model_cpu_offload_seq = "text_encoder->text_encoder_2->unet->vae"
|
44 |
_optional_components = [
|
45 |
"tokenizer",
|