Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ def url_requests(req_list):
|
|
| 27 |
img_byte = base64.b64decode(img_str)
|
| 28 |
img_io = BytesIO(img_byte) # convert image to file-like object
|
| 29 |
img = Image.open(img_io) # img is now PIL Image object
|
| 30 |
-
_img = img.resize(
|
| 31 |
img_list.append(_img)
|
| 32 |
|
| 33 |
return img_list
|
|
|
|
| 27 |
img_byte = base64.b64decode(img_str)
|
| 28 |
img_io = BytesIO(img_byte) # convert image to file-like object
|
| 29 |
img = Image.open(img_io) # img is now PIL Image object
|
| 30 |
+
_img = img.resize((source_img.size))
|
| 31 |
img_list.append(_img)
|
| 32 |
|
| 33 |
return img_list
|