Skip to content

Commit

Permalink
fix(api): unwrap results of img2img chain
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jul 4, 2023
1 parent 60de959 commit 42e6f35
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/onnx_web/diffusers/run.py
Expand Up @@ -171,9 +171,7 @@ def run_img2img_pipeline(

# run and append the filtered source
progress = job.get_progress_callback()
images = [
chain(job, server, params, [source], callback=progress),
]
images = chain(job, server, params, [source], callback=progress),

if source_filter is not None and source_filter != "none":
images.append(source)
Expand Down

0 comments on commit 42e6f35

Please sign in to comment.