Sleep

What does it mean when the app goes into sleep?
When the app goes to sleep and a user presses the “wake up” button is the app re-deployed?

I am asking this because I have a an app that requires a model that is tracked with LFS… now when I deploy it … bandwidth is used a little… if this keeps happening every two to three days the monthly limit of 1GB reaches very early and the app cant be deployed anymore…

On a side note… is using hugging face spaces to deploy the app a workaround for this?

Hi! Yes, when an app goes to sleep, the running container is deleted. When the app is resumed, we download the source code, reinstall dependencies, etc.

I’m not sure about HF spaces, but another option could be to move the model to a lower cost storage option.