From 5e83837c014f2ad124f82b41edb0acca9a25e7c7 Mon Sep 17 00:00:00 2001 From: "Alex \"mcmonkey\" Goodwin" <4000772+mcmonkey4eva@users.noreply.github.com> Date: Mon, 16 Sep 2024 12:40:05 +0900 Subject: [PATCH] cleanup redundant edit --- comfy/gligen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/gligen.py b/comfy/gligen.py index acb1fa67df1..040be5fd7e8 100644 --- a/comfy/gligen.py +++ b/comfy/gligen.py @@ -22,7 +22,7 @@ def __init__(self, dim, dim_out=None, mult=4, glu=False, dropout=0.): super().__init__() inner_dim = int(dim * mult) if not dim_out: - dim_out = dim() if isfunction(dim) else dim + dim_out = dim project_in = nn.Sequential( ops.Linear(dim, inner_dim), nn.GELU()