Automatically show PNGinfo when uploading image
This commit is contained in:
parent
dd911a47b3
commit
6486ec9a56
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user