Sanket commited on
Commit
baa2bd3
1 Parent(s): 9196827
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ model2.eval()
104
  def predict(input_img, ver):
105
  input_img = Image.open(input_img)
106
  transform = transforms.Compose(
107
- [transforms.Resize(512, Image.BICUBIC), transforms.ToTensor()]
108
  )
109
  input_img = transform(input_img)
110
  input_img = torch.unsqueeze(input_img, 0)
 
104
  def predict(input_img, ver):
105
  input_img = Image.open(input_img)
106
  transform = transforms.Compose(
107
+ [transforms.Resize(1080, Image.BICUBIC), transforms.ToTensor()]
108
  )
109
  input_img = transform(input_img)
110
  input_img = torch.unsqueeze(input_img, 0)