Waftage commited on
Commit
12600c7
·
verified ·
1 Parent(s): b14c4ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ class geoNet(nn.Module):
22
  coords_pred = self.regressor(x)
23
  return province_pred, coords_pred
24
 
25
- model = GeoNet()
26
  model_path = 'model_geo_epoch79.pth'
27
  model.load_state_dict(torch.load(model_path, map_location=torch.device('cpu')))
28
  model.eval()
 
22
  coords_pred = self.regressor(x)
23
  return province_pred, coords_pred
24
 
25
+ model = geoNet()
26
  model_path = 'model_geo_epoch79.pth'
27
  model.load_state_dict(torch.load(model_path, map_location=torch.device('cpu')))
28
  model.eval()