1
0
Fork 0

fix(api): drop unused parameter from inpaint pipeline

This commit is contained in:
Sean Sube 2023-01-31 21:14:43 -06:00
parent 6a0f881120
commit a3eed7a095
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,6 @@ def run_img2img_pipeline(
def run_inpaint_pipeline(
ctx: ServerContext,
stage: StageParams,
params: ImageParams,
_size: Size,
output: str,
@ -123,6 +122,7 @@ def run_inpaint_pipeline(
strength: float,
fill_color: str,
) -> None:
stage = StageParams()
image = upscale_outpaint(
ctx,
stage,
@ -142,7 +142,7 @@ def run_inpaint_pipeline(
logger.info('output image size does not match source, skipping post-blend')
image = run_upscale_correction(
ctx, StageParams(), params, image, upscale=upscale)
ctx, stage, params, image, upscale=upscale)
dest = base_join(ctx.output_path, output)
image.save(dest)