krrishD commited on
Commit
c9bc6a5
1 Parent(s): 114a837

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -102,6 +102,7 @@ def main(user_image):
102
  # # resize the image to be (512, 512)
103
  newsize = (512, 512)
104
  init_image = init_image.resize(newsize)
 
105
  init_image.save(user_image.name) # save the resized image
106
  ## identify the face + save the inverted mask
107
  inverted_mask = identify_face(user_image)
 
102
  # # resize the image to be (512, 512)
103
  newsize = (512, 512)
104
  init_image = init_image.resize(newsize)
105
+ init_image.rotate(-90)
106
  init_image.save(user_image.name) # save the resized image
107
  ## identify the face + save the inverted mask
108
  inverted_mask = identify_face(user_image)