lelouch0110 commited on
Commit
22c0b35
·
verified ·
1 Parent(s): d73f0aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def classify_image(inp):
61
 
62
  image = inp
63
  # Resize image to 224x224
64
- image = image.resize((224, 224,3), Image.Resampling.LANCZOS)
65
 
66
  # Convert to numpy array and ensure correct shape
67
  image_array = np.array(image)
 
61
 
62
  image = inp
63
  # Resize image to 224x224
64
+ image = image.resize((224, 224), Image.Resampling.LANCZOS)
65
 
66
  # Convert to numpy array and ensure correct shape
67
  image_array = np.array(image)