Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|