1
0
Fork 0

fix(api): remove traces of highres from blend pipeline

This commit is contained in:
Sean Sube 2023-04-22 12:40:51 -05:00
parent 5f5b01fed0
commit 4ac25f0650
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
2 changed files with 2 additions and 15 deletions

View File

@ -577,7 +577,7 @@ def run_blend_pipeline(
size: Size,
outputs: List[str],
upscale: UpscaleParams,
highres: HighresParams,
# highres: HighresParams,
sources: List[Image.Image],
mask: Image.Image,
) -> None:
@ -595,20 +595,6 @@ def run_blend_pipeline(
)
image = image.convert("RGB")
# TODO: blend tab doesn't have a prompt
image = run_highres(
job,
server,
params,
size,
upscale,
highres,
image,
progress,
[],
[],
)
image = run_upscale_correction(
job, server, stage, params, image, upscale=upscale, callback=progress
)

View File

@ -458,6 +458,7 @@ def blend(server: ServerContext, pool: DevicePoolExecutor):
size,
output,
upscale,
# TODO: highres
sources,
mask,
needs_device=device,