sowbaranika13 commited on
Commit
b8acee9
·
verified ·
1 Parent(s): 137f725

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def preprocess_image(image):
24
  return img_array
25
 
26
  # Function to perform inference
27
- def predict(model, img_path):
28
  img = preprocess_image(img_path)
29
  model = load_model(r"inceptionv3_classs.h5")
30
  preds = model.predict(img) # Get the model predictions
 
24
  return img_array
25
 
26
  # Function to perform inference
27
+ def predict(img_path):
28
  img = preprocess_image(img_path)
29
  model = load_model(r"inceptionv3_classs.h5")
30
  preds = model.predict(img) # Get the model predictions