Skip to content

Commit 67c32f3

Browse files
committed
Fix typo: zip(..., strict=True)
1 parent 5701c79 commit 67c32f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/app/invocations/grounded_sam.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def load_sam_model(model_path: Path):
143143
masks = self._to_numpy_masks(masks)
144144
masks = self._apply_polygon_refinement(masks)
145145

146-
for detection_result, mask in zip(detection_results, masks, strict=False):
146+
for detection_result, mask in zip(detection_results, masks, strict=True):
147147
detection_result.mask = mask
148148

149149
return detection_results

0 commit comments

Comments
 (0)