|
Download README.md from pcsekhar/MLModels: direct link, hf CLI and curl.
- Browser
- Download file 1.05 kB
-
https://huggingface.co/spaces/pcsekhar/MLModels/resolve/main/README.md
- Command line
-
hf download hf://spaces/pcsekhar/MLModels/README.md
-
curl -L -o README.md https://huggingface.co/spaces/pcsekhar/MLModels/resolve/main/README.md
1.05 kB
A newer version of the Gradio SDK is available: 6.32.0
metadata
title: House Price Prediction
emoji: 🏠
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.0.0
app_file: app.py
python_version: '3.11'
pinned: false
House Price Prediction
End-to-end machine learning app for predicting house sale prices with the Kaggle
house-prices-advanced-regression-techniques dataset.
Train
Set up Kaggle credentials, then download the dataset:
python scripts/download_kaggle_data.py
Train the model:
python -m src.train
If data/raw/train.csv is not present, training falls back to the included sample
dataset so the app remains runnable.
FastAPI
uvicorn src.api:app --reload
Prediction endpoint:
POST /predict
Gradio
python app.py
Hugging Face Spaces
This repository is configured for a Gradio Space. The target Space is:
pcsekhar/MLModels
Deploy with:
hf upload --repo-type space --exclude "data/raw/*" --exclude ".git/*" --commit-message "Deploy house price predictor" pcsekhar/MLModels .