Skip to content

Commit

Permalink
actual image seed now written into web log rather than -1 (invoke-ai#428
Browse files Browse the repository at this point in the history
)
  • Loading branch information
lstein committed Sep 7, 2022
1 parent edada04 commit d1d044a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ldm/dream/server.py
Expand Up @@ -129,6 +129,7 @@ def image_done(image, seed, upscaled=False):
name = f'{prefix}.{seed}.png'
path = pngwriter.save_image_and_prompt_to_png(image, f'{prompt} -S{seed}', name)

config['seed'] = seed
# Append post_data to log, but only once!
if not upscaled:
with open(os.path.join(self.outdir, "dream_web_log.txt"), "a") as log:
Expand Down

0 comments on commit d1d044a

Please sign in to comment.