osbm commited on
Commit
b38da9b
·
verified ·
1 Parent(s): 8efcd10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ model = UNet(
17
  num_res_units=4,
18
  dropout=0.15,
19
  )
20
- model.load_state_dict(torch.load("best_model.pth"), map_location=torch.device('cpu'))
21
  model.eval()
22
 
23
  def greet(image_path):
 
17
  num_res_units=4,
18
  dropout=0.15,
19
  )
20
+ model.load_state_dict(torch.load("best_model.pth", map_location=torch.device('cpu')))
21
  model.eval()
22
 
23
  def greet(image_path):