EngReem85 commited on
Commit
42e6af4
·
verified ·
1 Parent(s): 1a1cddf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ class DenseShuffleGCANet(nn.Module):
38
  # 3️⃣ تحميل النموذج المدرب
39
  # -------------------------------
40
  model = DenseShuffleGCANet(num_classes=4, handcrafted_feature_dim=41)
41
- model.load_state_dict(torch.load("best_model.pth", map_location=torch.device('cpu')))
42
  model.eval()
43
 
44
  # -------------------------------
 
38
  # 3️⃣ تحميل النموذج المدرب
39
  # -------------------------------
40
  model = DenseShuffleGCANet(num_classes=4, handcrafted_feature_dim=41)
41
+ model.load_state_dict(torch.load("best_model_2.pth", map_location=torch.device('cpu')))
42
  model.eval()
43
 
44
  # -------------------------------