OriLib commited on
Commit
b910fad
1 Parent(s): 8a357d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def resize_image(image):
53
  def process(input_image):
54
 
55
  # prepare input
56
- orig_image = Image.open(im_path)
57
  w,h = orig_im_size = orig_image.size
58
  image = resize_image(orig_image)
59
  im_np = np.array(image)
 
53
  def process(input_image):
54
 
55
  # prepare input
56
+ orig_image = input_image
57
  w,h = orig_im_size = orig_image.size
58
  image = resize_image(orig_image)
59
  im_np = np.array(image)