Spaces:
Runtime error
Runtime error
lfernandopg
commited on
Commit
•
f6511a9
1
Parent(s):
ec875c4
Update app.py
Browse files
app.py
CHANGED
@@ -7,16 +7,16 @@ import numpy as np
|
|
7 |
|
8 |
model = tf.keras.models.load_model('modelo.h5')
|
9 |
|
10 |
-
labels = ['
|
11 |
-
'
|
12 |
-
'
|
13 |
-
'
|
14 |
-
'
|
15 |
-
'
|
16 |
-
'
|
17 |
-
'
|
18 |
-
'
|
19 |
-
'
|
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:
|
|
|
7 |
|
8 |
model = tf.keras.models.load_model('modelo.h5')
|
9 |
|
10 |
+
labels = ['T-shirt/top',
|
11 |
+
'Trouser',
|
12 |
+
'Pullover',
|
13 |
+
'Dress',
|
14 |
+
'Coat',
|
15 |
+
'Sandal',
|
16 |
+
'Shirt',
|
17 |
+
'Sneaker',
|
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:
|