TianxingWu commited on
Commit
4771fc0
1 Parent(s): e720302

lazy cache for faster build

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -475,7 +475,8 @@ def ui():
475
 
476
  generate_button.click( fn=controller.animate, inputs=inputs, outputs=outputs )
477
 
478
- gr.Examples( fn=controller.animate, examples=examples, inputs=inputs, outputs=outputs, cache_examples=True)
 
479
 
480
  return demo
481
 
 
475
 
476
  generate_button.click( fn=controller.animate, inputs=inputs, outputs=outputs )
477
 
478
+ # gr.Examples( fn=controller.animate, examples=examples, inputs=inputs, outputs=outputs, cache_examples=True)
479
+ gr.Examples( fn=controller.animate, examples=examples, inputs=inputs, outputs=outputs, cache_examples="lazy")
480
 
481
  return demo
482