Spaces:
Runtime error
Runtime error
Commit
β’
5451ab9
1
Parent(s):
3d9ac9f
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def generate(concept_1, concept_2, scale, prompt, seed, recalc_directions, itera
|
|
54 |
avg_diff_x,
|
55 |
img2img_type = None, img = None,
|
56 |
controlnet_scale= None, ip_adapter_scale=None,
|
57 |
-
total_images
|
58 |
):
|
59 |
slider_x = [concept_1, concept_2]
|
60 |
# check if avg diff for directions need to be re-calculated
|
@@ -94,7 +94,7 @@ def generate(concept_1, concept_2, scale, prompt, seed, recalc_directions, itera
|
|
94 |
def update_scales(x,prompt,seed, steps, interm_steps, guidance_scale,
|
95 |
avg_diff_x,
|
96 |
img2img_type = None, img = None,
|
97 |
-
controlnet_scale= None, ip_adapter_scale=None, total_images):
|
98 |
print("Hola", x)
|
99 |
avg_diff = avg_diff_x.cuda()
|
100 |
|
|
|
54 |
avg_diff_x,
|
55 |
img2img_type = None, img = None,
|
56 |
controlnet_scale= None, ip_adapter_scale=None,
|
57 |
+
total_images=[]
|
58 |
):
|
59 |
slider_x = [concept_1, concept_2]
|
60 |
# check if avg diff for directions need to be re-calculated
|
|
|
94 |
def update_scales(x,prompt,seed, steps, interm_steps, guidance_scale,
|
95 |
avg_diff_x,
|
96 |
img2img_type = None, img = None,
|
97 |
+
controlnet_scale= None, ip_adapter_scale=None, total_images=[]):
|
98 |
print("Hola", x)
|
99 |
avg_diff = avg_diff_x.cuda()
|
100 |
|