lyndonzheng commited on
Commit
bffa280
1 Parent(s): 8287c2f

update bugs

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,9 +48,9 @@ def main():
48
  model.cfg.dataset.width, model.cfg.dataset.height = image.size
49
  model.set_backproject()
50
  else:
51
- cfg.dataset.height, cfg.dataset.width = 256, 384
52
  image = TTF.resize(
53
- image, (cfg.dataset.height, cfg.dataset.width),
54
  interpolation=TT.InterpolationMode.BICUBIC
55
  )
56
  if padding:
 
48
  model.cfg.dataset.width, model.cfg.dataset.height = image.size
49
  model.set_backproject()
50
  else:
51
+ model.cfg.dataset.height, model.cfg.dataset.width = 256, 384
52
  image = TTF.resize(
53
+ image, (model.cfg.dataset.height, model.cfg.dataset.width),
54
  interpolation=TT.InterpolationMode.BICUBIC
55
  )
56
  if padding: