This commit is contained in:
dsc 2022-12-07 14:58:45 +01:00
parent 7b12c98b07
commit f131d1eb64

View file

@ -168,7 +168,8 @@ class Task:
try:
images = [b64decode(i) for i in images]
return [Image.open(BytesIO(i)) for i in images]
images = [Image.open(BytesIO(i)) for i in images]
return [i.resize((256,256)) for i in images]
except Exception as ex:
raise Exception("could not decode results")