home
·
contact
·
privacy
projects
/
stable_plom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bf023e
)
Fix typo in exiftool parameter.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 16 Aug 2024 04:40:53 +0000
(06:40 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 16 Aug 2024 04:40:53 +0000
(06:40 +0200)
test.py
patch
|
blob
|
history
diff --git
a/test.py
b/test.py
index 72a3ebedc04e55a51b4d36304c63e6ab4c672d7b..dff6159e82b52df4c5cee499b765a96272eada98 100755
(executable)
--- a/
test.py
+++ b/
test.py
@@
-36,4
+36,4
@@
image.save(args.output)
metadata = f'seed: {seed}; guidance: {args.guidance}; height: {args.height}; width: {args.width}; model: {args.model}; prompt: {args.prompt}'
print(f'saved {args.output} – metadata: {metadata}')
with ExifToolHelper() as et:
- et.set_tags([args.output], tags={'Comment': metadata}, params=['-overwrite
-
original'])
+ et.set_tags([args.output], tags={'Comment': metadata}, params=['-overwrite
_
original'])