AdritRao commited on
Commit
3e93158
·
1 Parent(s): 35ff262

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def run_inference():
52
 
53
  # Function to read and display the DICOM image
54
  @st.cache_resource
55
- def convert_dicom_to_png(dicom_data):
56
  # Convert DICOM to a PNG image
57
  plt.imshow(dicom_data.pixel_array, cmap=plt.cm.bone)
58
  plt.axis("off")
 
52
 
53
  # Function to read and display the DICOM image
54
  @st.cache_resource
55
+ def convert_dicom_to_png(_dicom_data):
56
  # Convert DICOM to a PNG image
57
  plt.imshow(dicom_data.pixel_array, cmap=plt.cm.bone)
58
  plt.axis("off")