I wrote a code in streamlit with pydicom and published in heroku. So I got the error:
My code is below:
import streamlit as st
from matplotlib import pyplot as plt
import numpy as np
import cv2
from pydicom import dcmread
import zipfile
import io
def dicom_file(filename, file):
st.write(filename)
dataset = dcmread(file) <==LINE ERROR
Anybody have a idea?