Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -10,21 +10,21 @@ model_path = "keras_model.h5"
|
|
10 |
|
11 |
|
12 |
model = tf.keras.models.load_model(model_path)
|
13 |
-
categories = (Blouse, Dress, Pants, Shirt, Shorts)
|
14 |
|
15 |
title = "Clothing Identifier"
|
16 |
|
17 |
class_labels = [
|
18 |
-
Cotton,
|
19 |
-
Linen,
|
20 |
-
Silk,
|
21 |
-
Wool,
|
22 |
-
Polyester,
|
23 |
-
Nylon,
|
24 |
-
Rayon,
|
25 |
-
Fleece,
|
26 |
-
Leather,
|
27 |
-
Synth
|
28 |
]
|
29 |
|
30 |
|
|
|
10 |
|
11 |
|
12 |
model = tf.keras.models.load_model(model_path)
|
13 |
+
categories = ('Blouse', 'Dress', 'Pants', 'Shirt', 'Shorts')
|
14 |
|
15 |
title = "Clothing Identifier"
|
16 |
|
17 |
class_labels = [
|
18 |
+
'Cotton',
|
19 |
+
'Linen',
|
20 |
+
'Silk',
|
21 |
+
'Wool',
|
22 |
+
'Polyester',
|
23 |
+
'Nylon',
|
24 |
+
'Rayon',
|
25 |
+
'Fleece',
|
26 |
+
'Leather',
|
27 |
+
'Synth Leather'
|
28 |
]
|
29 |
|
30 |
|