paloma99 commited on
Commit
020a231
1 Parent(s): 765d914

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -62,7 +62,6 @@ def predict_image(input):
62
  image_array = tf.expand_dims(image_array, 0)
63
  # Predict using the model
64
  predictions = model1.predict(image_array)
65
- class_labels = ['cardboard', 'glass', 'metal', 'paper', 'plastic', 'trash']
66
  category_scores = {}
67
  for i, class_label in enumerate(class_labels):
68
  category_scores[class_label] = predictions[0][i].item()
 
62
  image_array = tf.expand_dims(image_array, 0)
63
  # Predict using the model
64
  predictions = model1.predict(image_array)
 
65
  category_scores = {}
66
  for i, class_label in enumerate(class_labels):
67
  category_scores[class_label] = predictions[0][i].item()