Skip to content

Commit

Permalink
bugfix tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Cohen committed Jan 18, 2024
1 parent 01e9a96 commit 4815a84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions node.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def INPUT_TYPES(cls):
}
CATEGORY = "mask"
FUNCTION = "main"
RETURN_TYPES = ("BOUNDING_BOX")
RETURN_TYPES = ("BOUNDING_BOX",)


def main(self, mask):
Expand All @@ -534,7 +534,7 @@ def INPUT_TYPES(cls):
}
CATEGORY = "mask"
FUNCTION = "util"
RETURN_TYPES = ("BOUNDING_BOX")
RETURN_TYPES = ("BOUNDING_BOX",)


def main(self, left,top,right,bottom,):
Expand All @@ -554,7 +554,7 @@ def INPUT_TYPES(cls):
}
CATEGORY = "segment_anything"
FUNCTION = "main"
RETURN_TYPES = ("IMAGE", "MASK")
RETURN_TYPES = ("IMAGE", "MASK",)

def main(self, sam_model, image, bounding_box):
res_images = []
Expand Down

0 comments on commit 4815a84

Please sign in to comment.