vilarin commited on
Commit
c9f5fea
·
verified ·
1 Parent(s): 888c470

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- 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)
 
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)