Spaces:
Runtime error
Runtime error
Commit
·
f9cfa28
1
Parent(s):
2d702f7
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ def load_modified_model(model_path):
|
|
| 9 |
|
| 10 |
# Load the trained model
|
| 11 |
print("Loading model...")
|
| 12 |
-
model = load_modified_model('
|
| 13 |
print("Model loaded successfully.")
|
| 14 |
|
| 15 |
# Function to classify food vs. non-food image using the loaded model
|
|
|
|
| 9 |
|
| 10 |
# Load the trained model
|
| 11 |
print("Loading model...")
|
| 12 |
+
model = load_modified_model('food_model_1.h5')
|
| 13 |
print("Model loaded successfully.")
|
| 14 |
|
| 15 |
# Function to classify food vs. non-food image using the loaded model
|