After clicking on the examples, click again to directly display the results without needing to click ‘submit’.
According to this question, Connection errored out will appear when pressing submit to execute.
I tried the same approach and found that others using Gradio on Hugging Face also have this issue where results are produced without needing to click submit.
This issue does not occur locally.
I also reported it to Gradio.
Question Video( Three cases have been attached to the Google folder linked below)