Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -51,7 +51,7 @@ class EndpointHandler():
|
|
51 |
# raw_images =[Image.open(dataBytesIO)]
|
52 |
# logging.warning(f"----raw_images----0--- {str(raw_images)}")
|
53 |
# Check if any images were successfully decoded
|
54 |
-
raw_images = input_data
|
55 |
logging.warning(f"---raw_images-raw_images----------- {str(raw_images)}")
|
56 |
if not raw_images:
|
57 |
print("No valid images found.")
|
|
|
51 |
# raw_images =[Image.open(dataBytesIO)]
|
52 |
# logging.warning(f"----raw_images----0--- {str(raw_images)}")
|
53 |
# Check if any images were successfully decoded
|
54 |
+
raw_images = [input_data]
|
55 |
logging.warning(f"---raw_images-raw_images----------- {str(raw_images)}")
|
56 |
if not raw_images:
|
57 |
print("No valid images found.")
|