xxxxxxxxxx
import streamlit as st
# Set Streamlit app title
st.title("Video Uploader")
# Upload the video file
video_file = st.file_uploader("Upload a video", type=["mp4"])
# Check if a video file is uploaded
if video_file is not None:
# Display the video
st.video(video_file)
st.success("Video uploaded successfully!")
else:
st.warning("Please upload a video file.")