Phizzly commited on
Commit
fbbe2b2
·
1 Parent(s): 73bc643

revert close img >_<

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -144,9 +144,6 @@ def process_image(pil_image):
144
  bottom = (h + 224) // 2
145
  image = inp.crop((left, top, right, bottom))
146
 
147
- # close image
148
- inp.close()
149
-
150
  # Convert pil image to numpy array and scale color channels to [0, 1]
151
  np_image = np.array(image) / 255
152
 
 
144
  bottom = (h + 224) // 2
145
  image = inp.crop((left, top, right, bottom))
146
 
 
 
 
147
  # Convert pil image to numpy array and scale color channels to [0, 1]
148
  np_image = np.array(image) / 255
149