tonyassi commited on
Commit
5a402aa
1 Parent(s): bc211b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -132,6 +132,7 @@ with gr.Blocks() as demo:
132
  text_ip, text_prompt, neg_prompt, width_slider, height_slider, ip_scale_slider, strength_slider, guidance_slider, steps_slider,
133
  output_image,
134
  text_to_image,
 
135
  )
136
 
137
  text_button.click(text_to_image, inputs=[text_ip, text_prompt, neg_prompt, width_slider, height_slider, ip_scale_slider, strength_slider, guidance_slider, steps_slider], outputs=output_image)
 
132
  text_ip, text_prompt, neg_prompt, width_slider, height_slider, ip_scale_slider, strength_slider, guidance_slider, steps_slider,
133
  output_image,
134
  text_to_image,
135
+ cache_examples='lazy'
136
  )
137
 
138
  text_button.click(text_to_image, inputs=[text_ip, text_prompt, neg_prompt, width_slider, height_slider, ip_scale_slider, strength_slider, guidance_slider, steps_slider], outputs=output_image)