Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ with app:
|
|
| 36 |
# Encode categorical inputs
|
| 37 |
location_dict = {"Suburban": 0, "Downtown": 1, "Rural": 2, "Urban": 3}
|
| 38 |
condition_dict = {"Poor": 0, "Fair": 1, "Good": 2, "Excellent": 3}
|
| 39 |
-
garage_dict = {"
|
| 40 |
|
| 41 |
location_encoded = location_dict[location]
|
| 42 |
condition_encoded = condition_dict[condition]
|
|
|
|
| 36 |
# Encode categorical inputs
|
| 37 |
location_dict = {"Suburban": 0, "Downtown": 1, "Rural": 2, "Urban": 3}
|
| 38 |
condition_dict = {"Poor": 0, "Fair": 1, "Good": 2, "Excellent": 3}
|
| 39 |
+
garage_dict = {"No": 0, "Yes": 1}
|
| 40 |
|
| 41 |
location_encoded = location_dict[location]
|
| 42 |
condition_encoded = condition_dict[condition]
|