sharktide commited on
Commit
a80f51a
·
1 Parent(s): e10a731

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from io import BytesIO
6
  from fastapi.responses import JSONResponse
7
 
8
  # Load your trained model (make sure it's available in the working directory)
9
- model = tf.keras.models.load_model('model.h5')
10
 
11
  # Class names for predictions (modify if necessary)
12
  class_names = ['Glass', 'Metal', 'Paperboard', 'Plastic-Polystyrene', 'Plastic-Regular']
 
6
  from fastapi.responses import JSONResponse
7
 
8
  # Load your trained model (make sure it's available in the working directory)
9
+ model = tf.keras.models.load_model('recyclebot.keras')
10
 
11
  # Class names for predictions (modify if necessary)
12
  class_names = ['Glass', 'Metal', 'Paperboard', 'Plastic-Polystyrene', 'Plastic-Regular']