From 34493e79689e1336a8ea69ff431fd4c1ab15d80a Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Thu, 23 Nov 2023 23:22:28 -0600 Subject: [PATCH] update inpaint pipeline to use stage results --- api/onnx_web/diffusers/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/onnx_web/diffusers/run.py b/api/onnx_web/diffusers/run.py index e80734a0..0cb59ac3 100644 --- a/api/onnx_web/diffusers/run.py +++ b/api/onnx_web/diffusers/run.py @@ -385,7 +385,7 @@ def run_inpaint_pipeline( latents = get_latents_from_seed(params.seed, size, batch=params.batch) progress = worker.get_progress_callback() images = chain.run( - worker, server, params, [source], callback=progress, latents=latents + worker, server, params, StageResult(images=[source]), callback=progress, latents=latents ) _pairs, loras, inversions, _rest = parse_prompt(params)