ajitsi commited on
Commit
244c497
·
1 Parent(s): c4fa708

app file changes

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from model_builder import TinyVGG # Replace with your actual model import
5
 
6
  # Load the model
7
  model = TinyVGG(input_shape=3, hidden_units=10, output_shape=3)
8
- model.load_state_dict(torch.load("pytorch_model.bin", map_location=torch.device("cpu"), weights_only=True))
9
  model.eval()
10
 
11
  # Define a preprocessing pipeline
 
5
 
6
  # Load the model
7
  model = TinyVGG(input_shape=3, hidden_units=10, output_shape=3)
8
+ model.load_state_dict(torch.load("05_going_modular_script_mode_tinyvgg_model.pth", map_location=torch.device("cpu")))
9
  model.eval()
10
 
11
  # Define a preprocessing pipeline