UsamaHF commited on
Commit
034c630
·
verified ·
1 Parent(s): de6b3e3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -57,7 +57,7 @@ from PIL import Image
57
  model = from_pretrained_keras("UsamaHF/Cat-dog-classification")
58
 
59
  # Load and preprocess image
60
- img = Image.open("/content/rot.jpg").resize((224, 224)).convert("RGB")
61
  img_array = np.expand_dims(np.array(img).astype("float32") / 255.0, axis=0)
62
 
63
  # Get inference function
 
57
  model = from_pretrained_keras("UsamaHF/Cat-dog-classification")
58
 
59
  # Load and preprocess image
60
+ img = Image.open("example.jpg").resize((224, 224)).convert("RGB")
61
  img_array = np.expand_dims(np.array(img).astype("float32") / 255.0, axis=0)
62
 
63
  # Get inference function