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