Skip to content

Commit

Permalink
fix(api): support multiple outputs from txt2img stage
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jul 4, 2023
1 parent 7c1b85f commit 6425a91
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions api/onnx_web/chain/source_txt2img.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,4 @@ def run(
callback=callback,
)

output = result.images[0]

logger.info("final output image size: %sx%s", output.width, output.height)
return output
return result.images

0 comments on commit 6425a91

Please sign in to comment.