itsLu commited on
Commit
ebe907b
·
1 Parent(s): d6a4480

fixing image predection

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def prepare_image(img_bytes):
33
 
34
  img_array = image.img_to_array(img)
35
  img_array = np.expand_dims(img_array, axis=0)
36
- img_array = img_array / 255.0
37
  return img_array
38
  except Exception as e:
39
  print(f"Error processing image: {e}", file=sys.stderr)
 
33
 
34
  img_array = image.img_to_array(img)
35
  img_array = np.expand_dims(img_array, axis=0)
36
+ #img_array = img_array / 255.0
37
  return img_array
38
  except Exception as e:
39
  print(f"Error processing image: {e}", file=sys.stderr)