Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ def predict_jellyfish_type(uploaded_file):
|
|
| 10 |
if uploaded_file is None:
|
| 11 |
return "No file uploaded."
|
| 12 |
|
| 13 |
-
model = tf.keras.models.load_model('
|
| 14 |
# Load the image from the file path
|
| 15 |
with Image.open(uploaded_file) as img:
|
| 16 |
img = img.resize((150, 150)).convert('RGB') # Convert image to RGB
|
|
|
|
| 10 |
if uploaded_file is None:
|
| 11 |
return "No file uploaded."
|
| 12 |
|
| 13 |
+
model = tf.keras.models.load_model('Jellyfish_transferlearning.keras')
|
| 14 |
# Load the image from the file path
|
| 15 |
with Image.open(uploaded_file) as img:
|
| 16 |
img = img.resize((150, 150)).convert('RGB') # Convert image to RGB
|