ntam0001 commited on
Commit
52bf674
1 Parent(s): d8e8aa5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,10 +4,10 @@ import json
4
  import numpy as np
5
 
6
  # Load model and columns
7
- with open("../model/banglore_home_prices_model.pickle", "rb") as f:
8
  model = pickle.load(f)
9
 
10
- with open("../model/columns.json", "r") as f:
11
  data_columns = json.load(f)["data_columns"]
12
 
13
  locations = data_columns[3:] # Extract location columns (FROM FORTH COLUMN TO END FOUND IN LOCATION)
 
4
  import numpy as np
5
 
6
  # Load model and columns
7
+ with open("banglore_home_prices_model.pickle", "rb") as f:
8
  model = pickle.load(f)
9
 
10
+ with open("columns.json", "r") as f:
11
  data_columns = json.load(f)["data_columns"]
12
 
13
  locations = data_columns[3:] # Extract location columns (FROM FORTH COLUMN TO END FOUND IN LOCATION)