Cache management in Spaces
Hello thereFirst, thanks a lot for this incredible platform that allows thousands of developers to showcase their work! We’ve been using HF Spaces to run a small streamlit demo for OCR for a while now, which works greatDL models are downloaded to a.cachefolder, then loaded into the memory to perform the inference.But a few days ago, it seems we cannot create subfolder in the.cachedirectory as I getPermissionError. To reproduce the behaviour, you can go todocTR - a Hugging Face Space by mindee, upload any picture or PDF, then click on analyze.The traceback points topathlib.Path.mkdirmethod which now throws aPermissionError. Was there any recent change to folder permissions recently on Spaces? If so, how can I fix this?Best
2022-06-24T07:39:19Z
Seems to be okay now
2022-06-25T12:09:18Z
Thanks for the fix Chris