Aryan-EcoClim commited on
Commit
ec8a927
·
verified ·
1 Parent(s): c26ff88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from utils import preprocess_image
8
 
9
  # Initialize labels and model
10
  labels = ['cardboard', 'glass', 'metal', 'paper', 'plastic', 'trash']
11
- model = torch.load('classify_model.pth')
12
  model.eval()
13
 
14
  # Customized Streamlit layout
 
8
 
9
  # Initialize labels and model
10
  labels = ['cardboard', 'glass', 'metal', 'paper', 'plastic', 'trash']
11
+ model = torch.load('classify_model.h5')
12
  model.eval()
13
 
14
  # Customized Streamlit layout