How to access tmp files of a space?


I have a space running on huggingface, it saves an image but I don’t know how to access the save image like the url of it. I tried:{filename}
but it doesn’t work. Please help me out.

Thank you

hi @tommy24 ,

You probably want to access the file param via the subdomain app. Please try{filename}

Facing this error: {“detail”:“File not allowed: /tmp/image.png.”}

Even though the file has been saved, This happens to all the files.

Please help me out.