to-be commited on
Commit
e5645de
1 Parent(s): 453e69f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def inference(img, task, run_on):
41
  img = img.resize((width,height), Image.ANTIALIAS)
42
 
43
 
44
- model = torch.jit.load('deraining.pt')
45
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
46
  model = model.to(device)
47
  model.eval()
 
41
  img = img.resize((width,height), Image.ANTIALIAS)
42
 
43
 
44
+ model = torch.jit.load('deshabby.pth')
45
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
46
  model = model.to(device)
47
  model.eval()