yashbyname commited on
Commit
b76fcf3
·
verified ·
1 Parent(s): dad3de7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def preprocess_image(image):
73
  # Log image shape and type for debugging
74
  #logger.info(f"Input image shape: {image.}, dtype: {image.dtype}")
75
 
76
- image = image.convert('rgb')
77
  image = image.resize((256, 256, 3))
78
  image = np.array(image)
79
 
 
73
  # Log image shape and type for debugging
74
  #logger.info(f"Input image shape: {image.}, dtype: {image.dtype}")
75
 
76
+ image = image.convert('RGB')
77
  image = image.resize((256, 256, 3))
78
  image = np.array(image)
79