mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-01-26 19:09:45 +00:00
fix guidance cannot be none
This commit is contained in:
@@ -372,7 +372,7 @@ class IntegratedFluxTransformer2DModel(nn.Module):
|
||||
del vec
|
||||
return img
|
||||
|
||||
def forward(self, x, timestep, context, y, guidance, **kwargs):
|
||||
def forward(self, x, timestep, context, y, guidance=None, **kwargs):
|
||||
bs, c, h, w = x.shape
|
||||
input_device = x.device
|
||||
input_dtype = x.dtype
|
||||
|
||||
Reference in New Issue
Block a user