Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def home():
|
|
| 21 |
furnished = float(request.form['Furnished'])
|
| 22 |
|
| 23 |
# Create feature array and scale
|
| 24 |
-
features = np.array([[bhk, bathroom, parking, per_sqft, furnished])
|
| 25 |
features_scaled = scaler.transform(features)
|
| 26 |
|
| 27 |
# Predict price
|
|
|
|
| 21 |
furnished = float(request.form['Furnished'])
|
| 22 |
|
| 23 |
# Create feature array and scale
|
| 24 |
+
features = np.array([[bhk, bathroom, parking, per_sqft, furnished]])
|
| 25 |
features_scaled = scaler.transform(features)
|
| 26 |
|
| 27 |
# Predict price
|