tsaditya commited on
Commit
ecb561e
·
1 Parent(s): d0bc4c8

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ x = st.slider('Select a value')
4
+ st.write(x, 'squared is', x * x)
5
+ video_file = open('myvideo.mp4', 'rb')
6
+ video_bytes = video_file.read()
7
+
8
+ st.video(video_bytes)