Spaces:
Sleeping
Sleeping
remove Image.open() as already implemented in gradio
Browse files
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 =
|
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
|