Hello! Currently running into some issues when I try to pass the file object that’s returned from streamlit’s file_uploader into the pydicom.dcmread() function.
There are no issues with the file itself, since dcmread() works when given the path to the file. Below is an example of the error I get. Using the force=True as suggested does not resolve the issue.
Is there a workaround to get the file path from the file_uploader tool instead of a file object?