hb-setosys commited on
Commit
5d13cc0
·
verified ·
1 Parent(s): 9fcad62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from PIL import Image
6
  import numpy as np
7
 
8
  # Load the pre-trained ResNet152 model
9
- MODEL_PATH = "resnet152-image-classifier" # Directory where the model is saved
10
  model = tf.keras.models.load_model(MODEL_PATH)
11
 
12
  def predict_image(image):
 
6
  import numpy as np
7
 
8
  # Load the pre-trained ResNet152 model
9
+ MODEL_PATH = "resnet152-image-classifier.h5" # Directory where the model is saved
10
  model = tf.keras.models.load_model(MODEL_PATH)
11
 
12
  def predict_image(image):