NKASG commited on
Commit
8e27d5b
·
verified ·
1 Parent(s): 0a5f93d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
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-Leather
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