Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -119,8 +119,8 @@ def outpaintGen(
|
|
| 119 |
fix_height = (new_height // 16) * 16
|
| 120 |
|
| 121 |
# If the image size is not already divisible by 16, resize it
|
| 122 |
-
if new_width != fix_width or new_height != fix_height:
|
| 123 |
-
|
| 124 |
|
| 125 |
if op_randomize_seed:
|
| 126 |
op_seed = random.randint(0, MAX_SEED)
|
|
|
|
| 119 |
fix_height = (new_height // 16) * 16
|
| 120 |
|
| 121 |
# If the image size is not already divisible by 16, resize it
|
| 122 |
+
# if new_width != fix_width or new_height != fix_height:
|
| 123 |
+
# mask_image = mask_image.resize((fix_width, fix_height), Image.LANCZOS)
|
| 124 |
|
| 125 |
if op_randomize_seed:
|
| 126 |
op_seed = random.randint(0, MAX_SEED)
|