7H4M3R commited on
Commit
dc1889a
·
verified ·
1 Parent(s): 1643a16

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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
- 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:
 
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: