only add denoise stage after panorama pipeline
This commit is contained in:
parent
35171e6f12
commit
21d1240e28
|
@ -62,17 +62,17 @@ def run_txt2img_pipeline(
|
|||
)
|
||||
|
||||
# apply upscaling and correction, before highres
|
||||
if params.is_panorama() and server.panorama_tiles:
|
||||
highres_size = tile_size * highres.scale
|
||||
else:
|
||||
highres_size = params.unet_tile
|
||||
|
||||
if params.is_panorama():
|
||||
stage = StageParams(tile_size=highres_size)
|
||||
chain.stage(
|
||||
BlendDenoiseStage(),
|
||||
stage,
|
||||
)
|
||||
|
||||
if server.panorama_tiles:
|
||||
highres_size = tile_size * highres.scale
|
||||
|
||||
first_upscale, after_upscale = split_upscale(upscale)
|
||||
if first_upscale:
|
||||
stage_upscale_correction(
|
||||
|
|
Loading…
Reference in New Issue