cyberai-1 commited on
Commit
0053205
·
1 Parent(s): bc477fb

Remove resizing

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -241,7 +241,7 @@ def save_uploaded_image(file):
241
 
242
  def prepare_image(path):
243
  image = Image.open(path).convert("RGB")
244
- image = image.resize((30, 30))
245
  array = np.asarray(image, dtype=np.float32)
246
  if NORMALIZE_INPUT:
247
  array = array / 255.0
 
241
 
242
  def prepare_image(path):
243
  image = Image.open(path).convert("RGB")
244
+ #image = image.resize((30, 30))
245
  array = np.asarray(image, dtype=np.float32)
246
  if NORMALIZE_INPUT:
247
  array = array / 255.0