sayakpaul HF staff commited on
Commit
b059242
1 Parent(s): 947e4d8

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -25,7 +25,7 @@ def preprocess_image(orig_image: Image, size: int):
25
  image_resized, (resize_size, resize_size), method="bicubic"
26
  )
27
  image_resized = crop_layer(image_resized)
28
- return orig_image, norm_layer(image_resized).numpy()
29
 
30
 
31
  # Reference:
 
25
  image_resized, (resize_size, resize_size), method="bicubic"
26
  )
27
  image_resized = crop_layer(image_resized)
28
+ return image_resized, norm_layer(image_resized).numpy()
29
 
30
 
31
  # Reference: