abuhanzala commited on
Commit
b002185
·
verified ·
1 Parent(s): f72b2f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ CONFIDENCE_THRESHOLD = 0.7
17
 
18
  def predict_image(image):
19
  try:
20
- image = image.resize((128, 128)).convert("RGB")
21
  img_array = np.array(image, dtype=np.float32) / 255.0
22
  img_array = np.expand_dims(img_array, axis=0)
23
 
 
17
 
18
  def predict_image(image):
19
  try:
20
+ image = image.resize((224, 224)).convert("RGB")
21
  img_array = np.array(image, dtype=np.float32) / 255.0
22
  img_array = np.expand_dims(img_array, axis=0)
23