Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -314,7 +314,7 @@ with gr.Blocks(css=css) as demo:
|
|
314 |
|
315 |
iterations.change(fn=reset_recalc_directions, outputs=[recalc_directions])
|
316 |
seed.change(fn=reset_recalc_directions, outputs=[recalc_directions])
|
317 |
-
x.release(fn=update_scales, inputs=[x, prompt, seed, steps, interm_steps, guidance_scale, avg_diff_x, total_images], outputs=[output_image, image_seq, total_images, post_generation_image, post_generation_slider], trigger_mode='always_last')
|
318 |
# generate_butt_a.click(fn=update_scales, inputs=[x_a,y_a, prompt_a, seed_a, steps_a, guidance_scale_a, avg_diff_x, avg_diff_y, img2img_type, image, controlnet_conditioning_scale, ip_adapter_scale], outputs=[output_image_a])
|
319 |
# submit_a.click(fn=generate,
|
320 |
# inputs=[slider_x_a, slider_y_a, prompt_a, seed_a, iterations_a, steps_a, guidance_scale_a, x_concept_1, x_concept_2, y_concept_1, y_concept_2, avg_diff_x, avg_diff_y, img2img_type, image, controlnet_conditioning_scale, ip_adapter_scale],
|
|
|
314 |
|
315 |
iterations.change(fn=reset_recalc_directions, outputs=[recalc_directions])
|
316 |
seed.change(fn=reset_recalc_directions, outputs=[recalc_directions])
|
317 |
+
#x.release(fn=update_scales, inputs=[x, prompt, seed, steps, interm_steps, guidance_scale, avg_diff_x, total_images], outputs=[output_image, image_seq, total_images, post_generation_image, post_generation_slider], trigger_mode='always_last')
|
318 |
# generate_butt_a.click(fn=update_scales, inputs=[x_a,y_a, prompt_a, seed_a, steps_a, guidance_scale_a, avg_diff_x, avg_diff_y, img2img_type, image, controlnet_conditioning_scale, ip_adapter_scale], outputs=[output_image_a])
|
319 |
# submit_a.click(fn=generate,
|
320 |
# inputs=[slider_x_a, slider_y_a, prompt_a, seed_a, iterations_a, steps_a, guidance_scale_a, x_concept_1, x_concept_2, y_concept_1, y_concept_2, avg_diff_x, avg_diff_y, img2img_type, image, controlnet_conditioning_scale, ip_adapter_scale],
|