Weaita commited on
Commit
df65e84
·
1 Parent(s): 871a32e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def split_image(image):
17
  box = (j*width/3, i*height/3, (j+1)*width/3, (i+1)*height/3)
18
  region = im.crop(box)
19
  region = region.convert("RGB")
20
- region = region.resize((width//3, height//3), Image.ANTIALIAS)
21
 
22
  with tempfile.NamedTemporaryFile(suffix='.png') as temp:
23
  region.save(temp.name)
 
17
  box = (j*width/3, i*height/3, (j+1)*width/3, (i+1)*height/3)
18
  region = im.crop(box)
19
  region = region.convert("RGB")
20
+ # region = region.resize((width//3, height//3), Image.ANTIALIAS)
21
 
22
  with tempfile.NamedTemporaryFile(suffix='.png') as temp:
23
  region.save(temp.name)