reab5555 commited on
Commit
740fe04
·
verified ·
1 Parent(s): 1956954

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ class CustomViTModel(nn.Module):
35
 
36
  # Load the trained model
37
  model = CustomViTModel()
38
- model.load_state_dict(torch.load('final_ms_model_2classes_vit_base_224_bce.pth', map_location=device))
39
  model.to(device)
40
  model.eval()
41
 
 
35
 
36
  # Load the trained model
37
  model = CustomViTModel()
38
+ model.load_state_dict(torch.load('final_ms_model_2classes_vit_base_384_bce.pth', map_location=device))
39
  model.to(device)
40
  model.eval()
41