dreamdrop-art commited on
Commit
b4f34f5
1 Parent(s): dad3e30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -356,7 +356,8 @@ with gr.Blocks(css=css) as demo:
356
  return f"<p class='{classname}'>{content}</p>" if classname else f"<p>{content}</p>"
357
 
358
 
359
- def get_exif_data(image):
 
360
  items = image.info
361
 
362
  info = ''
 
356
  return f"<p class='{classname}'>{content}</p>" if classname else f"<p>{content}</p>"
357
 
358
 
359
+ def get_exif_data(path):
360
+ image = Image.open(path)
361
  items = image.info
362
 
363
  info = ''