ajoy0071998 commited on
Commit
d957bac
·
verified ·
1 Parent(s): 9be04d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import tempfile
7
  import os
8
 
9
  # Load the model
10
- model = tf.keras.models.load_model("satellite_model.h5")
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: