Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import xgboost as xgb
|
|
4 |
from huggingface_hub import hf_hub_download
|
5 |
|
6 |
# Load the model from the Hugging Face Hub
|
7 |
-
model_path = hf_hub_download(repo_id="caslabs/home-price-predictor", filename="xgboost_model.json")
|
8 |
model = xgb.XGBRegressor()
|
9 |
model.load_model(model_path)
|
10 |
|
|
|
4 |
from huggingface_hub import hf_hub_download
|
5 |
|
6 |
# Load the model from the Hugging Face Hub
|
7 |
+
model_path = hf_hub_download(repo_id="caslabs/xgboost-home-price-predictor", filename="xgboost_model.json")
|
8 |
model = xgb.XGBRegressor()
|
9 |
model.load_model(model_path)
|
10 |
|