I’m facing an issue with my FlaskAPI running in a private Hugging Face Space. I’ve set the space to enter sleeping mode after some time to save resources. However, when I try to wake it up after a few hours by sending a GET/POST request, I get a 404 error.
However, when I try to send the GET request, I get a “Sorry, we can’t find the page you are looking for” error. I’m not sure if my issue is due to an incorrect setup, the token expiration, or something related to the sleeping mode.
My Space: idkash1/Detect_Edits_in_AI-Generated_Text
Would appreciate any insights or advice.
Thanks in advance!
In my case, the script above worked in Private Space. So, I think it’s possible that there’s something wrong with the state of the Spaces or it’s a server glitch.
A few hours ago, an error was reported on HF Discord for a completely different matter, and it fixed itself. It might be something similar.