multimodalart HF staff commited on
Commit
0004449
1 Parent(s): 81240b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -317,7 +317,8 @@ with gr.Blocks() as app:
317
  inputs=[prompt_input, structure_image, style_image, depth_strength, style_strength],
318
  outputs=[output_image],
319
  fn=generate_image,
320
- cache_examples="lazy"
 
321
  )
322
 
323
  with gr.Column():
 
317
  inputs=[prompt_input, structure_image, style_image, depth_strength, style_strength],
318
  outputs=[output_image],
319
  fn=generate_image,
320
+ cache_examples=True,
321
+ cache_mode="eager"
322
  )
323
 
324
  with gr.Column():