koulsahil commited on
Commit
864e406
·
verified ·
1 Parent(s): 60c0385

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = torch.load(model_path)
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