Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def generate(slider_x, slider_y, prompt, seed, iterations, steps,
|
|
32 |
if not sorted(slider_x) == sorted([x_concept_1, x_concept_2]):
|
33 |
avg_diff = clip_slider.find_latent_direction(slider_x[0], slider_x[1], num_iterations=iterations)
|
34 |
x_concept_1, x_concept_2 = slider_x[0], slider_x[1]
|
35 |
-
print("avg_diff[0].dtype
|
36 |
if not sorted(slider_y) == sorted([y_concept_1, y_concept_2]):
|
37 |
avg_diff_2nd = clip_slider.find_latent_direction(slider_y[0], slider_y[1], num_iterations=iterations)
|
38 |
y_concept_1, y_concept_2 = slider_y[0], slider_y[1]
|
|
|
32 |
if not sorted(slider_x) == sorted([x_concept_1, x_concept_2]):
|
33 |
avg_diff = clip_slider.find_latent_direction(slider_x[0], slider_x[1], num_iterations=iterations)
|
34 |
x_concept_1, x_concept_2 = slider_x[0], slider_x[1]
|
35 |
+
print("avg_diff[0].dtype", avg_diff[0].dtype)
|
36 |
if not sorted(slider_y) == sorted([y_concept_1, y_concept_2]):
|
37 |
avg_diff_2nd = clip_slider.find_latent_direction(slider_y[0], slider_y[1], num_iterations=iterations)
|
38 |
y_concept_1, y_concept_2 = slider_y[0], slider_y[1]
|