Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -103,6 +103,7 @@ def main(user_image):
|
|
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)
|
|
|
103 |
newsize = (512, 512)
|
104 |
init_image = init_image.resize(newsize)
|
105 |
init_image.rotate(-90)
|
106 |
+
print(user_image.name)
|
107 |
init_image.save(user_image.name) # save the resized image
|
108 |
## identify the face + save the inverted mask
|
109 |
inverted_mask = identify_face(user_image)
|