fix(api): make sure stage params are declared for all txt2img pipelines
This commit is contained in:
parent
59685770e4
commit
b31227ecb3
|
@ -63,8 +63,9 @@ def run_txt2img_pipeline(
|
|||
|
||||
# apply upscaling and correction, before highres
|
||||
highres_size = params.unet_tile
|
||||
stage = StageParams(tile_size=highres_size)
|
||||
|
||||
if params.is_panorama():
|
||||
stage = StageParams(tile_size=highres_size)
|
||||
chain.stage(
|
||||
BlendDenoiseStage(),
|
||||
stage,
|
||||
|
|
Loading…
Reference in New Issue