Skip to content

Commit

Permalink
fix(api): make sure stage params are declared for all txt2img pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Nov 16, 2023
1 parent 5968577 commit b31227e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/onnx_web/diffusers/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b31227e

Please sign in to comment.