Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import tempfile
|
|
7 |
import os
|
8 |
|
9 |
# Load the model
|
10 |
-
model = tf.keras.models.load_model("
|
11 |
|
12 |
# Load class labels
|
13 |
with open("label_map.json", "r") as f:
|
|
|
7 |
import os
|
8 |
|
9 |
# Load the model
|
10 |
+
model = tf.keras.models.load_model("EuroSAT_model.h5", cstom_objects={"GetItem": GetItem})
|
11 |
|
12 |
# Load class labels
|
13 |
with open("label_map.json", "r") as f:
|