munjed commited on
Commit
7462415
·
1 Parent(s): ed39693

fixing name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ from feature_extractor import CodeFeatureExtractor
10
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
11
 
12
  model = Generator().to(device)
13
- checkpoint = torch.load("models/mode_256.pth", map_location=device)
14
  model.load_state_dict(checkpoint["state_dict"])
15
  model.eval()
16
 
 
10
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
11
 
12
  model = Generator().to(device)
13
+ checkpoint = torch.load("models/model_256.pth", map_location=device)
14
  model.load_state_dict(checkpoint["state_dict"])
15
  model.eval()
16