rocioadlc commited on
Commit
dcc5b57
Β·
verified Β·
1 Parent(s): e6675e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -47,12 +47,8 @@ from PIL import Image
47
  # Cell 1: Image Classification Model
48
  model1 = from_pretrained_keras("rocioadlc/Alejandra2")
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
 
47
  # Cell 1: Image Classification Model
48
  model1 = from_pretrained_keras("rocioadlc/Alejandra2")
49
 
50
+
51
+ class_labels = ['cardboard', 'glass', 'metal', 'paper', 'plastic', 'trash']
 
 
 
 
52
 
53
  def predict_image(image_input):
54
  # Resize the image to the size expected by the model