ErnestBeckham commited on
Commit
a0c5de0
·
1 Parent(s): 799aa8d

updated app

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def convert_to_opencv(uploaded_file):
33
  image = cv2.imdecode(np_arr, cv2.IMREAD_COLOR)
34
  return image
35
 
36
- def process_image_as_batch(path):
37
  #resize the image
38
  image = cv2.resize(image, [512, 512])
39
  #scale the image
 
33
  image = cv2.imdecode(np_arr, cv2.IMREAD_COLOR)
34
  return image
35
 
36
+ def process_image_as_batch(image):
37
  #resize the image
38
  image = cv2.resize(image, [512, 512])
39
  #scale the image