LogicGoInfotechSpaces commited on
Commit
515adea
·
1 Parent(s): 782a2a8

fix: correct indentation after else in /inpaint-multipart (line ~343)

Browse files
Files changed (1) hide show
  1. api/main.py +1 -1
api/main.py CHANGED
@@ -340,7 +340,7 @@ def inpaint_multipart(
340
  log.info("Successfully created binary mask: %d pink pixels → white (255), %d pixels → black (0)",
341
  nonzero, binmask.shape[0] * binmask.shape[1] - nonzero)
342
  else:
343
- mask_rgba = _load_rgba_mask_from_image(m)
344
 
345
  # When mask_is_painted=true, we encode pink as alpha=0, so process_inpaint's default invert_mask=True works correctly
346
  actual_invert = invert_mask # Use default True for painted masks
 
340
  log.info("Successfully created binary mask: %d pink pixels → white (255), %d pixels → black (0)",
341
  nonzero, binmask.shape[0] * binmask.shape[1] - nonzero)
342
  else:
343
+ mask_rgba = _load_rgba_mask_from_image(m)
344
 
345
  # When mask_is_painted=true, we encode pink as alpha=0, so process_inpaint's default invert_mask=True works correctly
346
  actual_invert = invert_mask # Use default True for painted masks