Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -3
src/streamlit_app.py
CHANGED
@@ -107,9 +107,9 @@ if st.button("Analyze"):
|
|
107 |
|
108 |
if uploaded_file:
|
109 |
video_path = os.path.join(output_dir, "video.mp4")
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
elif video_url.strip():
|
114 |
with st.spinner("Downloading video from URL..."):
|
115 |
try:
|
|
|
107 |
|
108 |
if uploaded_file:
|
109 |
video_path = os.path.join(output_dir, "video.mp4")
|
110 |
+
with open(video_path, "wb") as f:
|
111 |
+
f.write(uploaded_file.read())
|
112 |
+
st.success("✅ Video uploaded successfully.")
|
113 |
elif video_url.strip():
|
114 |
with st.spinner("Downloading video from URL..."):
|
115 |
try:
|