Skip to content

Commit

Permalink
fix(api): upscale during highres regardless of upscale checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 6, 2024
1 parent b35101e commit 568a16c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/onnx_web/chain/highres.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def stage_highres(
faces=False,
scale=highres.scale,
outscale=highres.scale,
upscale=True,
),
chain=chain,
overlap=params.vae_overlap,
Expand All @@ -52,7 +53,7 @@ def stage_highres(
stage,
method=highres.method,
overlap=params.vae_overlap,
upscale=upscale.with_args(scale=highres.scale, outscale=highres.scale),
upscale=upscale.with_args(scale=highres.scale, outscale=highres.scale, upscale=True),
)

chain.stage(
Expand Down

0 comments on commit 568a16c

Please sign in to comment.