Asahina2K commited on
Commit
f240016
1 Parent(s): 0cfdbbe
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -169,7 +169,7 @@ def save_image(image, metadata, output_dir, is_colab):
169
  filepath = os.path.join(output_dir, filename)
170
  metadata_str = json.dumps(metadata)
171
  info = PngImagePlugin.PngInfo()
172
- info.add_text("parameters", metadata_str)
173
  image.save(filepath, "PNG", pnginfo=info)
174
  return filepath
175
 
 
169
  filepath = os.path.join(output_dir, filename)
170
  metadata_str = json.dumps(metadata)
171
  info = PngImagePlugin.PngInfo()
172
+ info.add_text("metadata", metadata_str)
173
  image.save(filepath, "PNG", pnginfo=info)
174
  return filepath
175