Spaces:
Runtime error
Runtime error
Commit
·
367a3ec
1
Parent(s):
6c209df
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('denseNet121.h5')
|
13 |
print("Model loaded successfully.")
|
14 |
|
15 |
# Function to classify food vs. non-food image using the loaded model
|