Skip to content

Commit

Permalink
fix(api): use upscaling method param in highres
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jul 2, 2023
1 parent 8781f7f commit c515d25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/onnx_web/chain/highres.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def stage_highres(
chain.stage(
UpscaleSimpleStage(),
stage,
method=highres.method,
upscale=upscale.with_args(scale=highres.scale, outscale=highres.scale),
)

Expand Down

0 comments on commit c515d25

Please sign in to comment.