Naresh617 commited on
Commit
0ec66e7
·
1 Parent(s): d99713d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ class Net(nn.Module):
36
 
37
  # Load the trained model
38
  model = Net()
39
- model.load_state_dict(torch.load("C:/Users/User/cifar_net.pth"))
40
  model.eval()
41
 
42
  # Define the transformation to be applied to input images
 
36
 
37
  # Load the trained model
38
  model = Net()
39
+ model.load_state_dict(torch.load(r"C:/Users/User/cifar_net.pth"))
40
  model.eval()
41
 
42
  # Define the transformation to be applied to input images