CristopherWVSU commited on
Commit
c305cc7
·
verified ·
1 Parent(s): 6eb313e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = {"1": 0, "2": 1}
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]