Skip to content

Commit ac28f69

Browse files
uso -> uxo/uno as requested. (comfyanonymous#9688)
1 parent 04ad98b commit ac28f69

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

comfy/ldm/flux/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def _forward(self, x, timestep, context, y=None, guidance=None, ref_latents=None
248248
index += 1
249249
h_offset = 0
250250
w_offset = 0
251-
elif ref_latents_method == "uso":
251+
elif ref_latents_method == "uxo":
252252
index = 0
253253
h_offset = h_len * patch_size + h
254254
w_offset = w_len * patch_size + w

comfy_extras/nodes_flux.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class FluxKontextMultiReferenceLatentMethod:
105105
def INPUT_TYPES(s):
106106
return {"required": {
107107
"conditioning": ("CONDITIONING", ),
108-
"reference_latents_method": (("offset", "index", "uso"), ),
108+
"reference_latents_method": (("offset", "index", "uxo/uno"), ),
109109
}}
110110

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

117117
def append(self, conditioning, reference_latents_method):
118+
if "uxo" in reference_latents_method or "uso" in reference_latents_method:
119+
reference_latents_method = "uxo"
118120
c = node_helpers.conditioning_set_values(conditioning, {"reference_latents_method": reference_latents_method})
119121
return (c, )
120122

0 commit comments

Comments
 (0)