linoyts HF staff commited on
Commit
c464ec4
β€’
1 Parent(s): 0ac7cc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -54,7 +54,10 @@ def generate(slider_x, prompt, seed, recalc_directions, iterations, steps, guida
54
  elif img2img_type=="ip adapter" and img is not None:
55
  image = clip_slider.generate(prompt, guidance_scale=guidance_scale, ip_adapter_image=img, scale=0, scale_2nd=0, seed=seed, num_inference_steps=steps, avg_diff=avg_diff, avg_diff_2nd=avg_diff_2nd)
56
  else: # text to image
57
- image = clip_slider.generate(prompt, guidance_scale=guidance_scale, scale=0, scale_2nd=0, seed=seed, num_inference_steps=steps, avg_diff=avg_diff)
 
 
 
58
 
59
 
60
  #comma_concepts_x = ', '.join(slider_x)
 
54
  elif img2img_type=="ip adapter" and img is not None:
55
  image = clip_slider.generate(prompt, guidance_scale=guidance_scale, ip_adapter_image=img, scale=0, scale_2nd=0, seed=seed, num_inference_steps=steps, avg_diff=avg_diff, avg_diff_2nd=avg_diff_2nd)
56
  else: # text to image
57
+ image = clip_slider.generate(prompt,
58
+ #guidance_scale=guidance_scale,
59
+ scale=0, scale_2nd=0,
60
+ seed=seed, num_inference_steps=steps, avg_diff=avg_diff)
61
 
62
 
63
  #comma_concepts_x = ', '.join(slider_x)