mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
minor fix to ldm.dream.args
- If no list of seeds is provided to metadata_dumps(), then the contents of the Args object's seed attribute are used.
This commit is contained in:
parent
d8685ad66b
commit
ad292b095d
@ -626,6 +626,9 @@ def metadata_dumps(opt,
|
||||
rfc_dict['type'] = 'txt2img'
|
||||
|
||||
images = []
|
||||
if len(seeds)==0 and opt.seed:
|
||||
seeds=[seed]
|
||||
|
||||
for seed in seeds:
|
||||
rfc_dict['seed'] = seed
|
||||
images.append(copy.copy(rfc_dict))
|
||||
|
Loading…
Reference in New Issue
Block a user