stazizov commited on
Commit
717e94b
1 Parent(s): 9a2d734

Update src/flux/xflux_pipeline.py

Browse files
Files changed (1) hide show
  1. src/flux/xflux_pipeline.py +1 -1
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)