How to output an .nii.gz nifiti image with FastAPI whilst keeping everything on memory?
How to output an .nii.gz nifiti image with FastAPI whilst keeping everything on memory? Question: I would like to find a way to send a .nii.gz file from my FastAPI ‘server’ without saving the image, but instead keeping it in the memory. I managed to upload the image like that, but I struggle to do …