krrishD commited on
Commit
21a200c
1 Parent(s): b1c1634

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -93,6 +93,7 @@ def preprocess_mask(mask):
93
  def main(user_image):
94
  # accept the image as input
95
  init_image = PIL.Image.open(user_image)
 
96
  # # resize the image to be (512, 512)
97
  newsize = (512, 512)
98
  init_image = init_image.resize(newsize)
 
93
  def main(user_image):
94
  # accept the image as input
95
  init_image = PIL.Image.open(user_image)
96
+ return init_image
97
  # # resize the image to be (512, 512)
98
  newsize = (512, 512)
99
  init_image = init_image.resize(newsize)