Spaces:
Runtime error
Runtime error
lfernandopg
commited on
Commit
•
c4186d9
1
Parent(s):
c81cf2a
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
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)
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
+
file = st.file_uploader("Por favor suba una imagen de ropa", type=['jpg','png','jpeg'])
|
4 |
if file is not None:
|
5 |
bytes_data = file.read()
|
6 |
st.write("File uploaded:", file.name)
|