mdanish commited on
Commit
1b2c149
·
1 Parent(s): ae0ae97

test file uploader

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1,4 +1,6 @@
1
  import streamlit as st
 
2
 
3
- x = st.slider('Select a value')
4
- st.write(x, 'squared is', x * x)
 
 
1
  import streamlit as st
2
+ from PIL import Image
3
 
4
+ file = st.file_uploader('Upload An Image')
5
+
6
+ st.write(file)