Skip to content

Commit

Permalink
Merge pull request #14 from petercham/patch-1
Browse files Browse the repository at this point in the history
Update birefnetNode.py Standardized type naming(Important: the old workflow needs to recreate the node, which has no impact for the API workflow)
  • Loading branch information
lldacing authored Jan 6, 2025
2 parents 3170ba1 + f1195a9 commit 5eb1f25
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions birefnetNode.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def INPUT_TYPES(cls):
}
}

RETURN_TYPES = ("BiRefNetMODEL",)
RETURN_TYPES = ("BIREFNET",)
RETURN_NAMES = ("model",)
FUNCTION = "load_model"
CATEGORY = "image/BiRefNet"
Expand Down Expand Up @@ -141,7 +141,7 @@ def INPUT_TYPES(cls):
}
}

RETURN_TYPES = ("BiRefNetMODEL",)
RETURN_TYPES = ("BIREFNET",)
RETURN_NAMES = ("model",)
FUNCTION = "load_model"
CATEGORY = "rembg/BiRefNet"
Expand Down Expand Up @@ -179,7 +179,7 @@ class GetMaskByBiRefNet:
def INPUT_TYPES(cls):
return {
"required": {
"model": ("BiRefNetMODEL",),
"model": ("BIREFNET",),
"images": ("IMAGE",),
"width": ("INT",
{
Expand Down Expand Up @@ -309,7 +309,7 @@ class RembgByBiRefNetAdvanced(GetMaskByBiRefNet, BlurFusionForegroundEstimation)
def INPUT_TYPES(cls):
return {
"required": {
"model": ("BiRefNetMODEL",),
"model": ("BIREFNET",),
"images": ("IMAGE",),
"width": ("INT",
{
Expand Down Expand Up @@ -358,7 +358,7 @@ class RembgByBiRefNet(RembgByBiRefNetAdvanced):
def INPUT_TYPES(cls):
return {
"required": {
"model": ("BiRefNetMODEL",),
"model": ("BIREFNET",),
"images": ("IMAGE",),
}
}
Expand Down

0 comments on commit 5eb1f25

Please sign in to comment.