Skip to content

Commit

Permalink
fix(api): pass image size to upscale job
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 18, 2023
1 parent dc84bec commit cf6a151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/onnx_web/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def upscale():

source_image.thumbnail((size.width, size.height))
executor.submit_stored(output, run_upscale_pipeline,
context, params, output, upscale, source_image)
context, params, size, output, upscale, source_image)

return jsonify({
'output': output,
Expand Down

0 comments on commit cf6a151

Please sign in to comment.