Spaces:
Sleeping
Sleeping
Update clip_slider_pipeline.py
Browse files- 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,
|
|
|
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"
|