Jfink09 commited on
Commit
0cd1b6c
·
verified ·
1 Parent(s): 970f4ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ class RegressionModel2(nn.Module):
21
  return out
22
 
23
  # Load the saved model state dictionary
24
- model = RegressionModel2(input_dim2, hidden_dim2, output_dim2)
25
  model.load_state_dict(torch.load('model.pt'))
26
  model.eval() # Set the model to evaluation mode
27
 
 
21
  return out
22
 
23
  # Load the saved model state dictionary
24
+ model = RegressionModel2(3, 32, 1)
25
  model.load_state_dict(torch.load('model.pt'))
26
  model.eval() # Set the model to evaluation mode
27