Rihem02 commited on
Commit
54ba009
·
1 Parent(s): f64a081
app.py CHANGED
@@ -20,7 +20,7 @@ device = torch.device("cpu")
20
  print("Using device:", device)
21
 
22
  # Load weights into UNet model with ResNet34 backbone
23
- model_path = "best_unet_model_complete.pth"
24
  if os.path.exists(model_path):
25
  model = smp.Unet(
26
  encoder_name="resnet34",
 
20
  print("Using device:", device)
21
 
22
  # Load weights into UNet model with ResNet34 backbone
23
+ model_path = "best_unet.pth"
24
  if os.path.exists(model_path):
25
  model = smp.Unet(
26
  encoder_name="resnet34",
best_unet_model_complete.pth → best_unet.pth RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:47d03022dfb75ed544b70b3b67ce863bf476b2e97201a36ad3c1515c89c7663b
3
- size 97950016
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:380e417f7e5dd35d4e2e372950c51a01299fc2e3a7aa8f4db56f60fee9ce0862
3
+ size 97921128