fix(api): remove traces of highres from blend pipeline
This commit is contained in:
parent
5f5b01fed0
commit
4ac25f0650
|
@ -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
|
||||
)
|
||||
|
|
|
@ -458,6 +458,7 @@ def blend(server: ServerContext, pool: DevicePoolExecutor):
|
|||
size,
|
||||
output,
|
||||
upscale,
|
||||
# TODO: highres
|
||||
sources,
|
||||
mask,
|
||||
needs_device=device,
|
||||
|
|
Loading…
Reference in New Issue