yashbyname commited on
Commit
ae01e5c
·
verified ·
1 Parent(s): ef3808c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ class MedicalDiagnosisModel:
51
  logger.error(f"Error loading model: {str(e)}")
52
  return None
53
 
54
- def preprocess_image(self, image: Image.Image) -> np.ndarray:
55
  """Preprocess the input image for model prediction."""
56
  try:
57
  # Convert to RGB and resize
 
51
  logger.error(f"Error loading model: {str(e)}")
52
  return None
53
 
54
+ def preprocess_image(self, image: Image.Image):
55
  """Preprocess the input image for model prediction."""
56
  try:
57
  # Convert to RGB and resize