hlnicholls commited on
Commit
3684fcf
1 Parent(s): 5c91afd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -5,15 +5,11 @@ import os
5
 
6
  # Set up the Streamlit app title
7
  st.title("CBCT Scan DICOM Viewer")
8
- # Print the current working directory for debugging purposes
9
- st.write("Current working directory:", os.getcwd())
10
 
11
- # List all files and directories in the current working directory for debugging purposes
12
- st.write("Contents of the current working directory:", os.listdir("."))
13
 
14
  # Directory paths where DICOM files are stored
15
- single_image_directory = "/00002067/"
16
- multiple_images_directory = "/00007FA6/"
17
 
18
  # Function to get the slice location or image position for sorting
19
  def get_slice_location(dicom_file):
 
5
 
6
  # Set up the Streamlit app title
7
  st.title("CBCT Scan DICOM Viewer")
 
 
8
 
 
 
9
 
10
  # Directory paths where DICOM files are stored
11
+ single_image_directory = "00002067/"
12
+ multiple_images_directory = "00007FA6/"
13
 
14
  # Function to get the slice location or image position for sorting
15
  def get_slice_location(dicom_file):