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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ 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)
 
55
 
56
  # prepare input
57
  print(type(image))
58
+ orig_image = Image.from_array(image)
59
  w,h = orig_im_size = orig_image.size
60
  image = resize_image(orig_image)
61
  im_np = np.array(image)