mawairon commited on
Commit
b7c4acd
·
verified ·
1 Parent(s): 271399a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -80,6 +80,8 @@ def load_model(model_name: str):
80
  model_seq,
81
  new_head
82
  )
 
 
83
  return model, None
84
 
85
  else:
 
80
  model_seq,
81
  new_head
82
  )
83
+ weights = torch.load('/CNN_1stGEAC_m2_best.pth')
84
+ model.load_state_dict(weights)
85
  return model, None
86
 
87
  else: