Skip to content

Commit a3bc746

Browse files
authored
Update AILab_SegmentV2.py
1 parent 4b5163f commit a3bc746

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AILab_SegmentV2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,10 @@ def segment_v2(self, image, prompt, sam_model, dino_model, threshold=0.30,
268268
return (pil2tensor(result_image), mask_tensor, mask_image_vis)
269269

270270
NODE_CLASS_MAPPINGS = {
271-
"AILab_SegmentV2": SegmentV2,
271+
"SegmentV2": SegmentV2,
272272
}
273273

274274
NODE_DISPLAY_NAME_MAPPINGS = {
275-
"AILab_SegmentV2": "Segmentation V2 (RMBG)",
275+
"SegmentV2": "Segmentation V2 (RMBG)",
276276
}
277277

0 commit comments

Comments
 (0)