OriLib commited on
Commit
0c9e50b
1 Parent(s): c722512

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -51,10 +51,11 @@ def resize_image(image):
51
  return image
52
 
53
 
54
- def process(input_image):
55
 
56
  # prepare input
57
- orig_image = input_image
 
58
  w,h = orig_im_size = orig_image.size
59
  image = resize_image(orig_image)
60
  im_np = np.array(image)
 
51
  return image
52
 
53
 
54
+ def process(image):
55
 
56
  # prepare input
57
+ print(type(image))
58
+ orig_image = image
59
  w,h = orig_im_size = orig_image.size
60
  image = resize_image(orig_image)
61
  im_np = np.array(image)