Update app.py
Browse files
app.py
CHANGED
@@ -223,7 +223,7 @@ def house_price(LotArea, LotFrontage, YearBuilt, GrLivArea, GarageArea):
|
|
223 |
df[categorical_columns] = df[categorical_columns].apply(lambda x: x.cat.codes)
|
224 |
df = (df - df.mean()) / df.std()
|
225 |
|
226 |
-
predictions = model.predict(
|
227 |
|
228 |
return predictions[0]
|
229 |
|
|
|
223 |
df[categorical_columns] = df[categorical_columns].apply(lambda x: x.cat.codes)
|
224 |
df = (df - df.mean()) / df.std()
|
225 |
|
226 |
+
predictions = model.predict(df)
|
227 |
|
228 |
return predictions[0]
|
229 |
|