rocioadlc commited on
Commit
2cf506f
Β·
verified Β·
1 Parent(s): 3afc20b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -9
app.py CHANGED
@@ -47,18 +47,12 @@ from PIL import Image
47
  # Cell 1: Image Classification Model
48
  model1 = from_pretrained_keras("amt116/x1")
49
 
50
- class_labels = ['battery',
51
- 'biological',
52
- 'brown-glass',
53
  'cardboard',
54
- 'clothes',
55
- 'green-glass',
56
  'metal',
57
- 'paper',
58
- 'plastic',
59
- 'shoes',
60
  'trash',
61
- 'white-glass']
 
62
 
63
  def predict_image(image_input):
64
  # Resize the image to the size expected by the model
 
47
  # Cell 1: Image Classification Model
48
  model1 = from_pretrained_keras("amt116/x1")
49
 
50
+ class_labels = ['plastic',
 
 
51
  'cardboard',
 
 
52
  'metal',
 
 
 
53
  'trash',
54
+ 'paper',
55
+ 'glass']
56
 
57
  def predict_image(image_input):
58
  # Resize the image to the size expected by the model