lazy caching to avoid errors

#2
by multimodalart HF staff - opened
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -134,7 +134,7 @@ def app():
134
  iou_threshold,
135
  ],
136
  outputs=[output_image],
137
- cache_examples=True,
138
  )
139
 
140
  gradio_app = gr.Blocks()
 
134
  iou_threshold,
135
  ],
136
  outputs=[output_image],
137
+ cache_examples="lazy",
138
  )
139
 
140
  gradio_app = gr.Blocks()