Spaces:
Build error
Build error
Update pages/Measurement_of _central_tendency.py
Browse files
pages/Measurement_of _central_tendency.py
CHANGED
|
@@ -181,14 +181,16 @@ if numbers_input_4:
|
|
| 181 |
st.write("No valid numbers provided.")
|
| 182 |
|
| 183 |
import streamlit as st
|
|
|
|
| 184 |
|
| 185 |
-
|
|
|
|
| 186 |
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
st.error(f"
|
| 194 |
|
|
|
|
| 181 |
st.write("No valid numbers provided.")
|
| 182 |
|
| 183 |
import streamlit as st
|
| 184 |
+
import os
|
| 185 |
|
| 186 |
+
# Exact path to your video file (adjust accordingly)
|
| 187 |
+
file_path = '/Users/rajbunny/Downloads/WhatsApp Video 2024-12-05 at 7.06.56 PM.mp4'
|
| 188 |
|
| 189 |
+
# Check if the file exists
|
| 190 |
+
if os.path.exists(file_path):
|
| 191 |
+
# Display the video
|
| 192 |
+
st.video(file_path)
|
| 193 |
+
st.write("### Video Played Successfully!")
|
| 194 |
+
else:
|
| 195 |
+
st.error(f"File not found at path: {file_path}")
|
| 196 |
|