Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ from huggingface_hub import hf_hub_download
|
|
| 10 |
|
| 11 |
# Load model from Hugging Face Model Hub
|
| 12 |
model_path = hf_hub_download(repo_id="koulsahil/LandCoverClassification_EuroSat", filename="eurosat_rgb_model.h5")
|
| 13 |
-
model =
|
| 14 |
model.eval()
|
| 15 |
|
| 16 |
|
|
|
|
| 10 |
|
| 11 |
# Load model from Hugging Face Model Hub
|
| 12 |
model_path = hf_hub_download(repo_id="koulsahil/LandCoverClassification_EuroSat", filename="eurosat_rgb_model.h5")
|
| 13 |
+
model = tf.keras.models.load_model(model_path)
|
| 14 |
model.eval()
|
| 15 |
|
| 16 |
|