osbm commited on
Commit
65e5c64
·
verified ·
1 Parent(s): f6524bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def greet(image):
39
 
40
 
41
  with torch.no_grad():
42
- mask_pred = model(image)
43
 
44
  return mask_pred[0].numpy()
45
 
 
39
 
40
 
41
  with torch.no_grad():
42
+ mask_pred = torch.sigmoid(model(image))
43
 
44
  return mask_pred[0].numpy()
45