Run time error for huggingface space
Hi, I’m trying to deploy a gradio image recognition app on huggingface space. After the app starts building, it works, but after a while, there is a run time error, and the error message in the “see logs” says,“Running on local URL:http://localhost:7860/*** Failed to connect to ec2.gradio.app:22: [Errno 110] Connection timed out”I have no idea why it is the case and why it is running on local url instead of the public space. The app only works if I restart the space or edit a file.One thing to add though is that I have a deep learning model (a large file, between 95-100 MB, ending in .pkl) under the “files and versions section” which I uploaded from my laptop. Could this be the reason why the app fails after some time? How do I make the app run permanently?My url is:https://hf.space/gradioiframe/ruhwang2001/wonder-app/+/api/predict/
2022-02-24T09:32:21Z
cc@cbensimon
2022-02-24T14:59:39Z
Hey there! This is because you setshare=Trueininterface.launch. You can remove that  parameter.
2022-03-01T15:43:56Z
Hi! The same for me! When removing the parameter, the output is not displayed!
2024-09-05T20:40:16Z
the same happens to me when I try to use animatemagic.
2024-09-05T22:41:46Z
Probably same here.huggingface.coJohn6666/blue-real-xl-v10-sdxl · connection errored outi have connection errored out each time i submit prompt whereas i don't have this issue when using other model. I tried to restart space many times but still doesn't work.P.S.huggingface.co@John6666 on Hugging Face: "@victor Sorry for the repetitiveness.

I'm not...We’re on a journey to advance and democratize artificial intelligence through open source and open science.Setting fastapi==0.112.2 in requirements has helped me as a temporary fix.