52Hz commited on
Commit
74f946b
·
1 Parent(s): 06f232c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ os.system(
9
 
10
  def inference(img):
11
  os.system('mkdir test')
12
- basewidth = 256
13
  wpercent = (basewidth / float(img.size[0]))
14
  hsize = int((float(img.size[1]) * float(wpercent)))
15
  img = img.resize((basewidth, hsize), Image.ANTIALIAS)
 
9
 
10
  def inference(img):
11
  os.system('mkdir test')
12
+ basewidth = 512
13
  wpercent = (basewidth / float(img.size[0]))
14
  hsize = int((float(img.size[1]) * float(wpercent)))
15
  img = img.resize((basewidth, hsize), Image.ANTIALIAS)