Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -165,7 +165,7 @@ def crop_face_to_square(image_rgb, padding_ratio=0.2, height_multiplier=1.5):
|
|
165 |
|
166 |
# resized_image = cv2.resize(cropped_image, (768, int(768 * height_multiplier)), interpolation=cv2.INTER_AREA)
|
167 |
|
168 |
-
return
|
169 |
|
170 |
|
171 |
|
|
|
165 |
|
166 |
# resized_image = cv2.resize(cropped_image, (768, int(768 * height_multiplier)), interpolation=cv2.INTER_AREA)
|
167 |
|
168 |
+
return cropped_image
|
169 |
|
170 |
|
171 |
|