Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,6 @@ from huggingface_hub import hf_hub_download
|
|
| 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 |
|
| 17 |
# Define the class labels (replace with your EuroSAT classes)
|
|
|
|
| 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 |
|
| 15 |
|
| 16 |
# Define the class labels (replace with your EuroSAT classes)
|