KingNish commited on
Commit
5e72a94
·
verified ·
1 Parent(s): 6143092

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -231,7 +231,7 @@ with gr.Blocks(css=css) as demo:
231
  inputs=prompt,
232
  outputs=[result, seed],
233
  fn=generate,
234
- cache_examples=CACHE_EXAMPLES,
235
  )
236
  use_negative_prompt.change(
237
  fn=lambda x: gr.update(visible=x),
 
231
  inputs=prompt,
232
  outputs=[result, seed],
233
  fn=generate,
234
+ cache_examples="lazy",
235
  )
236
  use_negative_prompt.change(
237
  fn=lambda x: gr.update(visible=x),