Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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('
|
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']
|