revert back to NL means for panorama only
This commit is contained in:
parent
750a49a907
commit
05ab396b2a
|
@ -5,7 +5,7 @@ from typing import Any, List, Optional
|
||||||
from PIL import Image, ImageOps
|
from PIL import Image, ImageOps
|
||||||
|
|
||||||
from ..chain import (
|
from ..chain import (
|
||||||
BlendDenoiseLocalStdStage,
|
BlendDenoiseFastNLMeansStage,
|
||||||
BlendImg2ImgStage,
|
BlendImg2ImgStage,
|
||||||
BlendMaskStage,
|
BlendMaskStage,
|
||||||
ChainPipeline,
|
ChainPipeline,
|
||||||
|
@ -78,9 +78,9 @@ def run_txt2img_pipeline(
|
||||||
|
|
||||||
# apply upscaling and correction, before highres
|
# apply upscaling and correction, before highres
|
||||||
highres_size = get_highres_tile(server, params, highres, tile_size)
|
highres_size = get_highres_tile(server, params, highres, tile_size)
|
||||||
if params.is_xl():
|
if params.is_panorama():
|
||||||
chain.stage(
|
chain.stage(
|
||||||
BlendDenoiseLocalStdStage(),
|
BlendDenoiseFastNLMeansStage(),
|
||||||
StageParams(tile_size=highres_size),
|
StageParams(tile_size=highres_size),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue