Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ if uploaded_zip_file is not None:
|
|
107 |
image_path = os.path.join(outputs_directory, first_subdirectory, "temp_dicom_dir/images/summary/diameter_graph.png")
|
108 |
|
109 |
# Display the video generated by the inference script
|
110 |
-
if os.path
|
111 |
st.video(video_path, format="video/mp4")
|
112 |
|
113 |
# Display the image generated by the inference script
|
|
|
107 |
image_path = os.path.join(outputs_directory, first_subdirectory, "temp_dicom_dir/images/summary/diameter_graph.png")
|
108 |
|
109 |
# Display the video generated by the inference script
|
110 |
+
if os.path.exists(video_path):
|
111 |
st.video(video_path, format="video/mp4")
|
112 |
|
113 |
# Display the image generated by the inference script
|