ash123 commited on
Commit
fb12528
·
1 Parent(s): fedc156

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -251,7 +251,7 @@ with block as demo:
251
  inf_steps_input, seed_input, guidance_scale],
252
  outputs=[gallery, community_icon,
253
  loading_icon, share_button],
254
- cache_examples=False)
255
  ex.dataset.headers = [""]
256
  negative.submit(generate_image, inputs=[
257
  prompt_input, negative, inf_steps_input, seed_input, guidance_scale], outputs=[gallery], postprocess=False)
 
251
  inf_steps_input, seed_input, guidance_scale],
252
  outputs=[gallery, community_icon,
253
  loading_icon, share_button],
254
+ cache_examples=True)
255
  ex.dataset.headers = [""]
256
  negative.submit(generate_image, inputs=[
257
  prompt_input, negative, inf_steps_input, seed_input, guidance_scale], outputs=[gallery], postprocess=False)