Spaces:
Runtime error
Runtime error
lfernandopg
commited on
Commit
•
b35746e
1
Parent(s):
6682c77
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ labels = ['T-shirt/top',
|
|
18 |
'Bag',
|
19 |
'Ankle boot']
|
20 |
|
21 |
-
file = st.file_uploader("Por favor suba una imagen de ropa (jpg, png, jpeg)", type=['jpg','png','jpeg'])
|
22 |
if file is not None:
|
23 |
bytes_data = file.read()
|
24 |
x = np.array(Image.open(BytesIO(bytes_data)).convert('L'))
|
|
|
18 |
'Bag',
|
19 |
'Ankle boot']
|
20 |
|
21 |
+
file = st.file_uploader("Por favor suba una imagen de una prenda de ropa (jpg, png, jpeg)", type=['jpg','png','jpeg'])
|
22 |
if file is not None:
|
23 |
bytes_data = file.read()
|
24 |
x = np.array(Image.open(BytesIO(bytes_data)).convert('L'))
|