linoyts HF staff commited on
Commit
6e509af
1 Parent(s): 35f48e2

Update clip_slider_pipeline.py

Browse files
Files changed (1) hide show
  1. clip_slider_pipeline.py +1 -1
clip_slider_pipeline.py CHANGED
@@ -18,7 +18,7 @@ class CLIPSlider:
18
  ):
19
 
20
  self.device = device
21
- self.pipe = sd_pipe.to(self.device)
22
  self.iterations = iterations
23
  if target_word != "" or opposite != "":
24
  self.avg_diff = self.find_latent_direction(target_word, opposite)
 
18
  ):
19
 
20
  self.device = device
21
+ #self.pipe = sd_pipe.to(self.device)
22
  self.iterations = iterations
23
  if target_word != "" or opposite != "":
24
  self.avg_diff = self.find_latent_direction(target_word, opposite)