A-Celsius commited on
Commit
f049fc6
·
1 Parent(s): 1aab852

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ model = joblib.load('model.pkl')
7
  def preprocess_city(selected_city):
8
  # Map the selected city to its one-hot encoded representation
9
  city_mapping = {
10
- 'Hyderabad' : : [1, 0, 0, 0, 0, 0, 0],
11
  'Indore': [1, 0, 0, 0, 0, 0, 0],
12
  'Jaipur': [0, 1, 0, 0, 0, 0, 0],
13
  'Mahabaleshwar': [0, 0, 1, 0, 0, 0, 0],
 
7
  def preprocess_city(selected_city):
8
  # Map the selected city to its one-hot encoded representation
9
  city_mapping = {
10
+ 'Hyderabad' : [1, 0, 0, 0, 0, 0, 0],
11
  'Indore': [1, 0, 0, 0, 0, 0, 0],
12
  'Jaipur': [0, 1, 0, 0, 0, 0, 0],
13
  'Mahabaleshwar': [0, 0, 1, 0, 0, 0, 0],