Views
No views yet
1from huggingface_hub import hf_hub_download
2import joblib
3
4# Download the model
5model_path = hf_hub_download(repo_id="Sarah0022/heart-disease-model", filename="heart_disease_model.pkl")
6
7# Load the model using joblib
8model = joblib.load(model_path)