Fix webui metadata issue #734

Set correct seed in metadata on image generation with more then one
image.
This commit is contained in:
Arthur Holstvoogd 2022-09-21 21:52:07 +02:00 committed by Lincoln Stein
parent e759ed4bd6
commit 1f4306423a

View File

@ -702,7 +702,7 @@ def generate_images(generation_parameters, esrgan_parameters, gfpgan_parameters)
postprocessing = True
all_parameters["gfpgan_strength"] = gfpgan_parameters["strength"]
all_parameters["seed"] = first_seed
all_parameters["seed"] = seed
progress["currentStatus"] = "Saving image"
socketio.emit("progressUpdate", progress)
eventlet.sleep(0)