Update pipeline.py
Browse files- pipeline.py +2 -2
pipeline.py
CHANGED
@@ -37,7 +37,7 @@ from diffusers.utils import (
|
|
37 |
unscale_lora_layers,
|
38 |
)
|
39 |
from diffusers.pipelines.stable_diffusion_3.pipeline_output import StableDiffusion3PipelineOutput
|
40 |
-
from diffusers import
|
41 |
|
42 |
if is_torch_xla_available():
|
43 |
import torch_xla.core.xla_model as xm
|
@@ -48,7 +48,7 @@ else:
|
|
48 |
|
49 |
|
50 |
|
51 |
-
class SwDPipeline(
|
52 |
|
53 |
def __init__(
|
54 |
self,
|
|
|
37 |
unscale_lora_layers,
|
38 |
)
|
39 |
from diffusers.pipelines.stable_diffusion_3.pipeline_output import StableDiffusion3PipelineOutput
|
40 |
+
from diffusers import StableDiffusion3Pipeline
|
41 |
|
42 |
if is_torch_xla_available():
|
43 |
import torch_xla.core.xla_model as xm
|
|
|
48 |
|
49 |
|
50 |
|
51 |
+
class SwDPipeline(StableDiffusion3Pipeline):
|
52 |
|
53 |
def __init__(
|
54 |
self,
|