Phizzly commited on
Commit
73bc643
·
1 Parent(s): dd970d6

remove Image.open() as already implemented in gradio

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ def process_image(pil_image):
102
  ---------
103
  image: path of the image to be processed
104
  """
105
- inp = Image.open(pil_image)
106
  img_exif = inp.getexif()
107
 
108
  # Get image size
 
102
  ---------
103
  image: path of the image to be processed
104
  """
105
+ inp = pil_image
106
  img_exif = inp.getexif()
107
 
108
  # Get image size