Commit 6486ec9a authored by trufty's avatar trufty Committed by AUTOMATIC1111

Automatically show PNGinfo when uploading image

parent dd911a47
......@@ -98,6 +98,9 @@ def run_extras(image, image_folder, gfpgan_visibility, codeformer_visibility, co
def run_pnginfo(image):
if image is None:
return '', '', ''
items = image.info
if "exif" in image.info:
......
......@@ -806,6 +806,7 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo):
],
allow_flagging="never",
analytics_enabled=False,
live=True,
)
def create_setting_component(key):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment