Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ if st.button("Analyze"):
|
|
115 |
st.image(largest_slice, use_column_width=True)
|
116 |
|
117 |
# Display the video generated by the inference script
|
118 |
-
if os.path
|
119 |
st.title("Video")
|
120 |
st.video(video_path, format="video/mp4")
|
121 |
|
|
|
115 |
st.image(largest_slice, use_column_width=True)
|
116 |
|
117 |
# Display the video generated by the inference script
|
118 |
+
if os.path.exists(video_path):
|
119 |
st.title("Video")
|
120 |
st.video(video_path, format="video/mp4")
|
121 |
|