How to save an image I uploaded to dash and open it later?

I have been trying to use an uploaded image as an input to a classification model but I haven´t been able to do it. I wonder if there is a way I could save that image (in production using heroku ) inside a server for a couple of minutes or something so I could then open that saved image and use it as an input.