File size: 172 Bytes
ca8935b
 
 
55a439e
 
 
1
2
3
4
5
6
import streamlit as st

x = st.slider('Select a value')
st.write(x, 'squared is', x * x)
uploaded_file = st.file_uploader("Choose a file to upload")
st.write(uploaded_file)