Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -59,10 +59,8 @@ if uploaded_zip_file is not None:
|
|
59 |
install_dependencies()
|
60 |
|
61 |
temp_dir = "/home/user/app/C2C/temp_dicom_dir"
|
62 |
-
output_image_dir = "/home/user/app/C2C/images_for_video"
|
63 |
|
64 |
os.makedirs(temp_dir, exist_ok=True)
|
65 |
-
os.makedirs(output_image_dir, exist_ok=True)
|
66 |
full_path = os.path.abspath(temp_dir)
|
67 |
|
68 |
st.write(f"Temporary directory path: {full_path}")
|
@@ -124,3 +122,4 @@ if st.button("Analyze"):
|
|
124 |
st.warning("No subdirectories or folders found inside 'temp_dicom_dir'.")
|
125 |
else:
|
126 |
st.warning("No subdirectories or folders found inside the 'outputs' directory.")
|
|
|
|
59 |
install_dependencies()
|
60 |
|
61 |
temp_dir = "/home/user/app/C2C/temp_dicom_dir"
|
|
|
62 |
|
63 |
os.makedirs(temp_dir, exist_ok=True)
|
|
|
64 |
full_path = os.path.abspath(temp_dir)
|
65 |
|
66 |
st.write(f"Temporary directory path: {full_path}")
|
|
|
122 |
st.warning("No subdirectories or folders found inside 'temp_dicom_dir'.")
|
123 |
else:
|
124 |
st.warning("No subdirectories or folders found inside the 'outputs' directory.")
|
125 |
+
|