kadirnar multimodalart HF staff commited on
Commit
41b26c3
1 Parent(s): 58175b2

lazy caching to avoid errors (#2)

Browse files

- lazy caching to avoid errors (2bf3a852d15a7002720c9dd30216ea24d722e046)


Co-authored-by: Apolinário from multimodal AI art <multimodalart@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -130,7 +130,7 @@ def app():
130
  iou_threshold,
131
  ],
132
  outputs=[output_image],
133
- cache_examples=True,
134
  )
135
 
136
  gradio_app = gr.Blocks()
 
130
  iou_threshold,
131
  ],
132
  outputs=[output_image],
133
+ cache_examples="lazy",
134
  )
135
 
136
  gradio_app = gr.Blocks()