File size: 182 Bytes
ecb561e
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import streamlit as st

x = st.slider('Select a value')
st.write(x, 'squared is', x * x)
video_file = open('myvideo.mp4', 'rb')
video_bytes = video_file.read()

st.video(video_bytes)