akrasi commited on
Commit
f6b152c
·
verified ·
1 Parent(s): 5541eee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -19,10 +19,9 @@ def apply_random_mask(img):
19
 
20
  def preprocess_image(image):
21
  image = np.array(image)
22
-
23
  image = cv2.resize(image, (256, 256))
24
  image = image / 255.0
25
- image = apply_random_mask(image)
26
  return image
27
 
28
  def predict(image):
 
19
 
20
  def preprocess_image(image):
21
  image = np.array(image)
22
+ image = apply_random_mask(image)
23
  image = cv2.resize(image, (256, 256))
24
  image = image / 255.0
 
25
  return image
26
 
27
  def predict(image):