annanau commited on
Commit
da4cf5c
·
verified ·
1 Parent(s): 68c25a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,8 +8,8 @@ from keras import layers
8
  # Load your trained Xception model
9
  model = tf.keras.models.load_model("xception-head.h5")
10
 
11
- # Define the labels for your classification (example: if you have 3 classes)
12
- class_labels = ['1', '2', '3','4','5','6'] # Replace with your actual class names
13
 
14
  def classify_image(img):
15
  # Preprocess the image to fit the model input shape
 
8
  # Load your trained Xception model
9
  model = tf.keras.models.load_model("xception-head.h5")
10
 
11
+ # Define the labels for your classification
12
+ class_labels = ['fresh', 'early decay', 'advanced decay','skeletonized'] # Replace with your actual class names
13
 
14
  def classify_image(img):
15
  # Preprocess the image to fit the model input shape