Connection errored out
Basically the issue is in the title. After a few second of running, i get this error:Screenshot from 2022-11-01 13-38-471294×752 42.6 KBIt works on my local computer. If I change the code, so it runs during the build (the build after a push),  no error, runs perfectly.At this point, out of ideas.(Visdif - a Hugging Face Space by englert)
2022-11-01T12:46:47Z
The error seems to be similar to:"Error: Connection errored out" during processing
2022-11-07T16:01:37Z
Space seems to be running fine now
2022-11-07T16:53:49Z
It’s still not working. I copied the minimal code to reproduce the error. It works on local, and works in other repos (Video To Subs - a Hugging Face Space by abnerh). I have no clue why it doesn’t work here.import gradio as grdef predict(input_file, downsample_size):return input_filedemo = gr.Interface(enable_queue=True,title=“Frame selection by visual difference”,description=“”,fn=predict,inputs=[gr.inputs.Video(label=“Upload Video File”),gr.inputs.Number(label=“Downsample size”)],outputs=gr.outputs.File(label=“Zip”),)demo.launch()
2022-11-14T12:48:49Z
I’m having exactly the same issue in all my three outputs.
2022-11-23T09:09:04Z
The issue does not appear locally because it is linked to the queue that is enabled by default when running in Spaces.Here is the associated issue to fix this bug:Using `gr.File` as an input fails with large files when the queue is activated · Issue #2700 · gradio-app/gradio · GitHub.Fix is included in Gradio release 3.11.