EndlessSora commited on
Commit
03ece6e
·
verified ·
1 Parent(s): 75dd739

change cache mode to lazy.

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -231,6 +231,7 @@ with gr.Blocks() as demo:
231
  outputs=[image_output],
232
  fn=generate_examples,
233
  cache_examples=True,
 
234
  )
235
 
236
  ui_btn_generate.click(
 
231
  outputs=[image_output],
232
  fn=generate_examples,
233
  cache_examples=True,
234
+ cache_mode="lazy"
235
  )
236
 
237
  ui_btn_generate.click(