1
0
Fork 0

remove unused output param

This commit is contained in:
Sean Sube 2023-06-26 07:06:31 -05:00
parent 7e21b9539e
commit 91c6c62159
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
2 changed files with 3 additions and 2 deletions

View File

@ -131,7 +131,7 @@ def save_image(
exif = PngImagePlugin.PngInfo() exif = PngImagePlugin.PngInfo()
if params is not None: if params is not None:
exif.add_text("Parameters", str_params([output], params, size)) exif.add_text("Parameters", str_params(params, size))
exif.add_text( exif.add_text(
"JSON Parameters", "JSON Parameters",
json_params( json_params(
@ -150,7 +150,7 @@ def save_image(
{ {
"0th": { "0th": {
ExifIFD.UserComment: UserComment.dump( ExifIFD.UserComment: UserComment.dump(
str_params([output], params, size), encoding="unicode" str_params(params, size), encoding="unicode"
), ),
ImageIFD.Make: "onnx-web", ImageIFD.Make: "onnx-web",
ImageIFD.Model: "TODO", ImageIFD.Model: "TODO",

View File

@ -39,6 +39,7 @@
"Dreambooth", "Dreambooth",
"dtype", "dtype",
"ESRGAN", "ESRGAN",
"Exif",
"ftfy", "ftfy",
"gfpgan", "gfpgan",
"Heun", "Heun",