elhamb commited on
Commit
8bda483
·
verified ·
1 Parent(s): 3391b54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def predict_image(input_img_pil):
34
  """
35
  if model is None:
36
  # Placeholder behavior if model loading failed
37
- return {"Error": 1.0}
38
 
39
  # 1. Preprocessing: Resize and convert to NumPy array
40
  img_resized = input_img_pil.resize(IMAGE_SIZE)
 
34
  """
35
  if model is None:
36
  # Placeholder behavior if model loading failed
37
+ return {"Error ********": 1.0}
38
 
39
  # 1. Preprocessing: Resize and convert to NumPy array
40
  img_resized = input_img_pil.resize(IMAGE_SIZE)