Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -60,10 +60,12 @@ def generate(slider_x, prompt, seed, recalc_directions, iterations, steps, guida
|
|
60 |
elif img2img_type=="ip adapter" and img is not None:
|
61 |
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)
|
62 |
else: # text to image
|
|
|
63 |
image = clip_slider.generate(prompt,
|
64 |
#guidance_scale=guidance_scale,
|
65 |
scale=0, scale_2nd=0,
|
66 |
seed=seed, num_inference_steps=steps, avg_diff=avg_diff)
|
|
|
67 |
|
68 |
|
69 |
#comma_concepts_x = ', '.join(slider_x)
|
|
|
60 |
elif img2img_type=="ip adapter" and img is not None:
|
61 |
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)
|
62 |
else: # text to image
|
63 |
+
print("WHY 1")
|
64 |
image = clip_slider.generate(prompt,
|
65 |
#guidance_scale=guidance_scale,
|
66 |
scale=0, scale_2nd=0,
|
67 |
seed=seed, num_inference_steps=steps, avg_diff=avg_diff)
|
68 |
+
print("HI 2")
|
69 |
|
70 |
|
71 |
#comma_concepts_x = ', '.join(slider_x)
|