adpro commited on
Commit
37245dd
·
1 Parent(s): 04b58f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(512,512,1)
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