Spaces:
Running
on
Zero
Running
on
Zero
Update src/flux/xflux_pipeline.py
Browse files
src/flux/xflux_pipeline.py
CHANGED
@@ -55,7 +55,7 @@ class XFluxPipeline:
|
|
55 |
self.controlnet_loaded = False
|
56 |
self.ip_loaded = False
|
57 |
|
58 |
-
def to(*args, **kwargs):
|
59 |
self.model.to(*args, **kwargs)
|
60 |
self.clip.to(*args, **kwargs)
|
61 |
self.t5.to(*args, **kwargs)
|
|
|
55 |
self.controlnet_loaded = False
|
56 |
self.ip_loaded = False
|
57 |
|
58 |
+
def to(self, *args, **kwargs):
|
59 |
self.model.to(*args, **kwargs)
|
60 |
self.clip.to(*args, **kwargs)
|
61 |
self.t5.to(*args, **kwargs)
|