Abdu07 commited on
Commit
6ea4dca
·
verified ·
1 Parent(s): b5a7c3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ model.to(device)
42
 
43
  # Download the state dict from HF Hub
44
  repo_id = "Abdu07/multitask-model"
45
- filename = "best_model.pt" # Make sure this is the state dict file
46
  model_path = hf_hub_download(repo_id=repo_id, filename=filename)
47
  state_dict = torch.load(model_path, map_location="cpu")
48
  model.load_state_dict(state_dict)
 
42
 
43
  # Download the state dict from HF Hub
44
  repo_id = "Abdu07/multitask-model"
45
+ filename = "best_model_new.pt" # Make sure this is the state dict file
46
  model_path = hf_hub_download(repo_id=repo_id, filename=filename)
47
  state_dict = torch.load(model_path, map_location="cpu")
48
  model.load_state_dict(state_dict)