hysts HF staff commited on
Commit
e20c624
1 Parent(s): e1f872b
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -236,6 +236,8 @@ with gr.Blocks(css_paths=pathlib.Path("style.css")) as demo:
236
  inputs=prompt,
237
  outputs=result,
238
  fn=generate,
 
 
239
  )
240
 
241
  use_negative_prompt.change(
 
236
  inputs=prompt,
237
  outputs=result,
238
  fn=generate,
239
+ cache_examples=True,
240
+ cache_mode="lazy",
241
  )
242
 
243
  use_negative_prompt.change(