mattyhew commited on
Commit
6843d2f
·
verified ·
1 Parent(s): 3639f22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -166,7 +166,7 @@ m = model.to(device)
166
  # print(sum(p.numel() for p in m.parameters()) / 1e3, "K parameters")
167
 
168
  # load the model.pth
169
- model.load_state_dict(torch.load("model.pth", weights_only=false, map_location=torch.device('cpu') )
170
 
171
  model.eval()
172
 
 
166
  # print(sum(p.numel() for p in m.parameters()) / 1e3, "K parameters")
167
 
168
  # load the model.pth
169
+ model.load_state_dict(torch.load("model.pth"), weights_only=false, map_location=torch.device('cpu') )
170
 
171
  model.eval()
172