Spaces:
Sleeping
Sleeping
hlnicholls
commited on
Commit
•
bce8ab6
1
Parent(s):
e69525e
Update app.py
Browse files
app.py
CHANGED
@@ -22,10 +22,6 @@ def get_slice_location(dicom_file):
|
|
22 |
else:
|
23 |
return 0 # Default to 0 if neither tag is available
|
24 |
|
25 |
-
# Debug: List contents of the directories
|
26 |
-
st.write("Contents of directory 00002067:", os.listdir(single_image_directory))
|
27 |
-
st.write("Contents of directory 00007FA6:", os.listdir(multiple_images_directory))
|
28 |
-
|
29 |
# Display the single DICOM image from the first folder
|
30 |
st.header("Single DICOM Image")
|
31 |
|
|
|
22 |
else:
|
23 |
return 0 # Default to 0 if neither tag is available
|
24 |
|
|
|
|
|
|
|
|
|
25 |
# Display the single DICOM image from the first folder
|
26 |
st.header("Single DICOM Image")
|
27 |
|