lfernandopg commited on
Commit
c81cf2a
·
1 Parent(s): a31ce15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -1,4 +1,7 @@
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
 
3
+ file = st.file_uploader("Por favor suba una imagen de ropa")
4
+ if file is not None:
5
+ bytes_data = file.read()
6
+ st.write("File uploaded:", file.name)
7
+ st.write(bytes_data)