Update app.py

#3
by merve HF staff - opened
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,9 +41,9 @@ def resize_image(im, max_size):
41
 
42
  resized_np = cv2.resize(im_np, (int(width * scale_factor), int(height * scale_factor)))
43
 
44
- resized_im = Image.fromarray(resized_np)
45
 
46
- return resized_im
47
 
48
  def create_key(seed=0):
49
  return jax.random.PRNGKey(seed)
 
41
 
42
  resized_np = cv2.resize(im_np, (int(width * scale_factor), int(height * scale_factor)))
43
 
44
+ #resized_im = Image.fromarray(resized_np)
45
 
46
+ return resized_np
47
 
48
  def create_key(seed=0):
49
  return jax.random.PRNGKey(seed)