multimodalart HF staff commited on
Commit
5451ab9
β€’
1 Parent(s): 3d9ac9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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