"Error: Connection errored out" during processing

Hi,

I have written a gradio app that processes videos. When launched in Colab (with CPU or GPU) it works, but when I host the app on Spaces, I have a “Connection errored out” error ~4 / 5 seconds after it starts to process the video.

In the forum, I saw similar problems being resolved by setting “cache_examples=False” but this option doesn’t seem to exist for gradio.Blocks

url of the Space: Slideshow Extraction - a Hugging Face Space by gigant

Thanks