mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-09-13 04:55:53 +00:00
Fix regression from last commit.
This commit is contained in:
@@ -428,8 +428,8 @@ class BasicTransformerBlock(nn.Module):
|
|||||||
|
|
||||||
def _forward(self, x, context=None, transformer_options={}):
|
def _forward(self, x, context=None, transformer_options={}):
|
||||||
extra_options = {}
|
extra_options = {}
|
||||||
block = None
|
block = transformer_options.get("block", None)
|
||||||
block_index = 0
|
block_index = transformer_options.get("block_index", 0)
|
||||||
transformer_patches = {}
|
transformer_patches = {}
|
||||||
transformer_patches_replace = {}
|
transformer_patches_replace = {}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user