Skip to content

Commit

Permalink
fix(api): pass seed when calculating inpaint filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 11, 2023
1 parent 662bf42 commit d20fb91
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 @@ -389,7 +389,7 @@ def inpaint():
).images[0]

(output_file, output_full) = make_output_path(
'inpaint', (prompt, cfg, steps, height, width, seed))
'inpaint', seed, (prompt, cfg, steps, height, width, seed))
print("inpaint output: %s" % output_full)
image.save(output_full)

Expand Down

0 comments on commit d20fb91

Please sign in to comment.