remove unused output param
This commit is contained in:
parent
7e21b9539e
commit
91c6c62159
|
@ -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",
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
"Dreambooth",
|
"Dreambooth",
|
||||||
"dtype",
|
"dtype",
|
||||||
"ESRGAN",
|
"ESRGAN",
|
||||||
|
"Exif",
|
||||||
"ftfy",
|
"ftfy",
|
||||||
"gfpgan",
|
"gfpgan",
|
||||||
"Heun",
|
"Heun",
|
||||||
|
|
Loading…
Reference in New Issue