Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import numpy as np
|
|
| 4 |
import pandas as pd
|
| 5 |
|
| 6 |
# Load the model
|
| 7 |
-
model = joblib.load("house_price_model.
|
| 8 |
|
| 9 |
# Define input columns (must match training data!)
|
| 10 |
input_cols = ['OverallQual', 'GrLivArea', 'GarageCars', 'TotalBsmtSF', '1stFlrSF', 'FullBath', 'YearBuilt']
|
|
|
|
| 4 |
import pandas as pd
|
| 5 |
|
| 6 |
# Load the model
|
| 7 |
+
model = joblib.load("house_price_model.joblib") # or use linear_regression_model.pkl if preferred
|
| 8 |
|
| 9 |
# Define input columns (must match training data!)
|
| 10 |
input_cols = ['OverallQual', 'GrLivArea', 'GarageCars', 'TotalBsmtSF', '1stFlrSF', 'FullBath', 'YearBuilt']
|