linoyts HF staff commited on
Commit
ac3025f
1 Parent(s): 7b9e6e4

Update clip_slider_pipeline.py

Browse files
Files changed (1) hide show
  1. clip_slider_pipeline.py +2 -1
clip_slider_pipeline.py CHANGED
@@ -359,7 +359,8 @@ class T5SliderFlux(CLIPSlider):
359
 
360
  def find_latent_direction(self,
361
  target_word:str,
362
- opposite:str,num_iterations:int=300 ):
 
363
 
364
  # lets identify a latent direction by taking differences between opposites
365
  # target_word = "happy"
 
359
 
360
  def find_latent_direction(self,
361
  target_word:str,
362
+ opposite:str,
363
+ num_iterations:int ):
364
 
365
  # lets identify a latent direction by taking differences between opposites
366
  # target_word = "happy"