Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -71,8 +71,7 @@ if uploaded_zip_file is not None:
|
|
71 |
plt = display_dicom_image(selected_slice, dicom_files)
|
72 |
st.pyplot(plt)
|
73 |
|
74 |
-
|
75 |
-
|
76 |
command = "chmod +x inference.sh"
|
77 |
|
78 |
try:
|
@@ -121,8 +120,6 @@ if uploaded_zip_file is not None:
|
|
121 |
if os.path.exists(image_path):
|
122 |
st.title("Diameter Graph")
|
123 |
st.image(image_path, use_column_width=True)
|
124 |
-
else:
|
125 |
-
st.warning("No subdirectories or folders found inside the 'outputs' directory.")
|
126 |
|
127 |
|
128 |
|
|
|
71 |
plt = display_dicom_image(selected_slice, dicom_files)
|
72 |
st.pyplot(plt)
|
73 |
|
74 |
+
if st.button("Analyze"):
|
|
|
75 |
command = "chmod +x inference.sh"
|
76 |
|
77 |
try:
|
|
|
120 |
if os.path.exists(image_path):
|
121 |
st.title("Diameter Graph")
|
122 |
st.image(image_path, use_column_width=True)
|
|
|
|
|
123 |
|
124 |
|
125 |
|