Spaces:
Running
Running
Update app.py
Browse files
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 = "
|
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)
|