Skip to content

Commit 1fd30df

Browse files
authored
Update pipeline_flux_control_inpaint.py
1 parent 5c6ee73 commit 1fd30df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/diffusers/pipelines/flux/pipeline_flux_control_inpaint.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ class FluxControlInpaintPipeline(
235235

236236
model_cpu_offload_seq = "text_encoder->text_encoder_2->transformer->vae"
237237
_optional_components = []
238-
_callback_tensor_inputs = ["latents", "prompt_embeds"]
238+
_callback_tensor_inputs = ["latents", "prompt_embeds", "control_image"]
239239

240240
def __init__(
241241
self,
@@ -1113,6 +1113,7 @@ def __call__(
11131113

11141114
latents = callback_outputs.pop("latents", latents)
11151115
prompt_embeds = callback_outputs.pop("prompt_embeds", prompt_embeds)
1116+
control_image = callback_outputs.pop("control_image", control_image)
11161117

11171118
# call the callback, if provided
11181119
if i == len(timesteps) - 1 or ((i + 1) > num_warmup_steps and (i + 1) % self.scheduler.order == 0):

0 commit comments

Comments
 (0)