Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion comfy/ldm/flux/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def _forward(self, x, timestep, context, y=None, guidance=None, ref_latents=None
index += 1
h_offset = 0
w_offset = 0
elif ref_latents_method == "uso":
elif ref_latents_method == "uxo":
index = 0
h_offset = h_len * patch_size + h
w_offset = w_len * patch_size + w
Expand Down
4 changes: 3 additions & 1 deletion comfy_extras/nodes_flux.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class FluxKontextMultiReferenceLatentMethod:
def INPUT_TYPES(s):
return {"required": {
"conditioning": ("CONDITIONING", ),
"reference_latents_method": (("offset", "index", "uso"), ),
"reference_latents_method": (("offset", "index", "uxo/uno"), ),
}}

RETURN_TYPES = ("CONDITIONING",)
Expand All @@ -115,6 +115,8 @@ def INPUT_TYPES(s):
CATEGORY = "advanced/conditioning/flux"

def append(self, conditioning, reference_latents_method):
if "uxo" in reference_latents_method or "uso" in reference_latents_method:
reference_latents_method = "uxo"
c = node_helpers.conditioning_set_values(conditioning, {"reference_latents_method": reference_latents_method})
return (c, )

Expand Down
Loading