Update README.md
Browse files
README.md
CHANGED
|
@@ -60,7 +60,7 @@ import requests
|
|
| 60 |
from huggingface_hub import hf_hub_download
|
| 61 |
|
| 62 |
# Download the model file from Hugging Face
|
| 63 |
-
model_path = hf_hub_download(repo_id="VisionaryQuant/5_Crop_Disease_Detection", filename="
|
| 64 |
|
| 65 |
# Load the model (make sure your architecture matches)
|
| 66 |
model = torch.load(model_path, map_location=torch.device('cpu'))
|
|
|
|
| 60 |
from huggingface_hub import hf_hub_download
|
| 61 |
|
| 62 |
# Download the model file from Hugging Face
|
| 63 |
+
model_path = hf_hub_download(repo_id="VisionaryQuant/5_Crop_Disease_Detection", filename="best_crop_disease_model.pt")
|
| 64 |
|
| 65 |
# Load the model (make sure your architecture matches)
|
| 66 |
model = torch.load(model_path, map_location=torch.device('cpu'))
|