Abdu07 commited on
Commit
9d8932c
·
verified ·
1 Parent(s): 938bc8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ model = MultiTaskModel(resnet, feature_dim, num_obj_classes)
36
  model.to(device)
37
 
38
  repo_id = "Abdu07/multitask-model"
39
- filename = "Yolloplusclassproject_weights.pth"
40
  weights_path = hf_hub_download(repo_id=repo_id, filename=filename)
41
  state_dict = torch.load(weights_path, map_location="cpu")
42
  model.load_state_dict(state_dict)
 
36
  model.to(device)
37
 
38
  repo_id = "Abdu07/multitask-model"
39
+ filename = "DualSight.pth"
40
  weights_path = hf_hub_download(repo_id=repo_id, filename=filename)
41
  state_dict = torch.load(weights_path, map_location="cpu")
42
  model.load_state_dict(state_dict)