Upload 8 files
Browse files- __pycache__/app.cpython-310.pyc +0 -0
- app.py +94 -0
- banglore_home_prices_model.pickle +3 -0
- columns.json +1 -0
- requirements.txt +10 -0
- static/css/style.css +185 -0
- static/css/thumb-1920-102834.jpg +0 -0
- templates/index.html +300 -0
__pycache__/app.cpython-310.pyc
ADDED
Binary file (1.67 kB). View file
|
|
app.py
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from flask import Flask, request, jsonify, render_template
|
2 |
+
import pickle
|
3 |
+
import json
|
4 |
+
import numpy as np
|
5 |
+
|
6 |
+
app = Flask(__name__)
|
7 |
+
|
8 |
+
@app.route('/')
|
9 |
+
def home():
|
10 |
+
return render_template('index.html')
|
11 |
+
|
12 |
+
__locations = None
|
13 |
+
data_columns = None
|
14 |
+
model = None
|
15 |
+
|
16 |
+
'''
|
17 |
+
def get_estimated_price(location,sqft,bhk,bath):
|
18 |
+
try:
|
19 |
+
loc_index = __data_columns.index(location.lower())
|
20 |
+
except:
|
21 |
+
loc_index = -1
|
22 |
+
|
23 |
+
x = np.zeros(len(__data_columns))
|
24 |
+
x[0] = sqft
|
25 |
+
x[1] = bath
|
26 |
+
x[2] = bhk
|
27 |
+
if loc_index>=0:
|
28 |
+
x[loc_index] = 1
|
29 |
+
|
30 |
+
return round(__model.predict([x])[0],2)
|
31 |
+
'''
|
32 |
+
|
33 |
+
def load_saved_artifacts():
|
34 |
+
print("loading saved artifacts...start")
|
35 |
+
|
36 |
+
global data_columns
|
37 |
+
global __locations
|
38 |
+
|
39 |
+
with open("columns.json", "r") as f:
|
40 |
+
data_columns = json.load(f)['data_columns']
|
41 |
+
__locations = data_columns[4:] # first 3 columns are sqft, bath, bhk
|
42 |
+
|
43 |
+
global model
|
44 |
+
if model is None:
|
45 |
+
with open('banglore_home_prices_model.pickle', 'rb') as f:
|
46 |
+
model = pickle.load(f)
|
47 |
+
print("loading saved artifacts...done")
|
48 |
+
|
49 |
+
'''
|
50 |
+
def get_data_columns():
|
51 |
+
return __data_columns
|
52 |
+
'''
|
53 |
+
'''
|
54 |
+
@app.route('/get_location_names', methods=['GET'])
|
55 |
+
def get_location_names():
|
56 |
+
response = jsonify({
|
57 |
+
'locations': __locations
|
58 |
+
})
|
59 |
+
response.headers.add('Access-Control-Allow-Origin', '*')
|
60 |
+
|
61 |
+
return response
|
62 |
+
'''
|
63 |
+
|
64 |
+
@app.route('/predict_home_price', methods=['POST'])
|
65 |
+
def predict_home_price():
|
66 |
+
|
67 |
+
total_sqft = float(request.form['total_sqft'])
|
68 |
+
location = request.form['location']
|
69 |
+
bhk = int(request.form['bhk'])
|
70 |
+
bath = int(request.form['bath'])
|
71 |
+
|
72 |
+
# response = jsonify({
|
73 |
+
# 'estimated_price': get_estimated_price(location,total_sqft,bhk,bath)
|
74 |
+
# })
|
75 |
+
|
76 |
+
try:
|
77 |
+
loc_index = data_columns.index(location.lower())
|
78 |
+
except:
|
79 |
+
loc_index = -1
|
80 |
+
|
81 |
+
x = np.zeros(len(data_columns))
|
82 |
+
x[0] = total_sqft
|
83 |
+
x[1] = bath
|
84 |
+
x[2] = bhk
|
85 |
+
if loc_index>=0:
|
86 |
+
x[loc_index] = 1
|
87 |
+
|
88 |
+
output=round(model.predict([x])[0],2)
|
89 |
+
return render_template('index.html', prediction_text=output)
|
90 |
+
|
91 |
+
print("Starting Python Flask Server For Home Price Prediction...")
|
92 |
+
load_saved_artifacts()
|
93 |
+
if __name__ == "__main__":
|
94 |
+
app.run(debug=True)
|
banglore_home_prices_model.pickle
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3138873376963dd22e3082c9698b675b37dd980c2989944c5844d34e54ecd896
|
3 |
+
size 477654
|
columns.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"data_columns": ["total_sqft", "bath", "balcony", "bhk", "1st block jayanagar", "1st phase jp nagar", "2nd phase judicial layout", "2nd stage nagarbhavi", "5th phase jp nagar", "6th phase jp nagar", "7th phase jp nagar", "8th phase jp nagar", "9th phase jp nagar", "aecs layout", "abbigere", "akshaya nagar", "ambalipura", "ambedkar nagar", "amruthahalli", "anandapura", "ananth nagar", "anekal", "anjanapura", "ardendale", "arekere", "attibele", "beml layout", "btm 2nd stage", "btm layout", "babusapalaya", "badavala nagar", "balagere", "banashankari", "banashankari stage ii", "banashankari stage iii", "banashankari stage v", "banashankari stage vi", "banaswadi", "banjara layout", "bannerghatta", "bannerghatta road", "basavangudi", "basaveshwara nagar", "battarahalli", "begur", "begur road", "bellandur", "benson town", "bharathi nagar", "bhoganhalli", "billekahalli", "binny pete", "bisuvanahalli", "bommanahalli", "bommasandra", "bommasandra industrial area", "bommenahalli", "brookefield", "budigere", "cv raman nagar", "chamrajpet", "chandapura", "channasandra", "chikka tirupathi", "chikkabanavar", "chikkalasandra", "choodasandra", "cooke town", "cox town", "cunningham road", "dasanapura", "dasarahalli", "devanahalli", "devarachikkanahalli", "dodda nekkundi", "doddaballapur", "doddakallasandra", "doddathoguru", "domlur", "dommasandra", "epip zone", "electronic city", "electronic city phase ii", "electronics city phase 1", "frazer town", "gm palaya", "garudachar palya", "giri nagar", "gollarapalya hosahalli", "gottigere", "green glen layout", "gubbalala", "gunjur", "hbr layout", "hrbr layout", "hsr layout", "haralur road", "harlur", "hebbal", "hebbal kempapura", "hegde nagar", "hennur", "hennur road", "hoodi", "horamavu agara", "horamavu banaswadi", "hormavu", "hosa road", "hosakerehalli", "hoskote", "hosur road", "hulimavu", "isro layout", "itpl", "iblur village", "indira nagar", "jp nagar", "jakkur", "jalahalli", "jalahalli east", "jigani", "judicial layout", "kr puram", "kadubeesanahalli", "kadugodi", "kaggadasapura", "kaggalipura", "kaikondrahalli", "kalena agrahara", "kalyan nagar", "kambipura", "kammanahalli", "kammasandra", "kanakapura", "kanakpura road", "kannamangala", "karuna nagar", "kasavanhalli", "kasturi nagar", "kathriguppe", "kaval byrasandra", "kenchenahalli", "kengeri", "kengeri satellite town", "kereguddadahalli", "kodichikkanahalli", "kodigehaali", "kodihalli", "kogilu", "konanakunte", "koramangala", "kothannur", "kothanur", "kudlu", "kudlu gate", "kumaraswami layout", "kundalahalli", "lb shastri nagar", "laggere", "lakshminarayana pura", "lingadheeranahalli", "magadi road", "mahadevpura", "mahalakshmi layout", "mallasandra", "malleshpalya", "malleshwaram", "marathahalli", "margondanahalli", "marsur", "mico layout", "munnekollal", "murugeshpalya", "mysore road", "ngr layout", "nri layout", "nagarbhavi", "nagasandra", "nagavara", "nagavarapalya", "narayanapura", "neeladri nagar", "ombr layout", "old airport road", "old madras road", "padmanabhanagar", "pai layout", "panathur", "parappana agrahara", "pattandur agrahara", "poorna pragna layout", "prithvi layout", "r.t. nagar", "rachenahalli", "raja rajeshwari nagar", "rajaji nagar", "rajiv nagar", "ramagondanahalli", "ramamurthy nagar", "rayasandra", "sahakara nagar", "sanjay nagar", "sarakki nagar", "sarjapur", "sarjapur road", "sarjapura - attibele road", "sector 2 hsr layout", "sector 7 hsr layout", "seegehalli", "shampura", "shivaji nagar", "singasandra", "somasundara palya", "sompura", "sonnenahalli", "subramanyapura", "sultan palaya", "tc palaya", "talaghattapura", "thanisandra", "thigalarapalya", "thubarahalli", "thyagaraja nagar", "tindlu", "tumkur road", "ulsoor", "uttarahalli", "varthur", "varthur road", "vasanthapura", "vidyaranyapura", "vijayanagar", "vishveshwarya layout", "vishwapriya layout", "vittasandra", "whitefield", "yelachenahalli", "yelahanka", "yelahanka new town", "yelenahalli", "yeshwanthpur"]}
|
requirements.txt
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Flask==2.2.2
|
2 |
+
gunicorn==19.9.0
|
3 |
+
itsdangerous>=2.0
|
4 |
+
MarkupSafe>=2.0
|
5 |
+
Werkzeug>=2.2.2
|
6 |
+
numpy>=1.9.2
|
7 |
+
scipy>=0.15.1
|
8 |
+
scikit-learn>=0.18
|
9 |
+
matplotlib>=1.4.3
|
10 |
+
pandas>=0.19
|
static/css/style.css
ADDED
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import url(https://fonts.googleapis.com/css?family=Roboto:300);
|
2 |
+
|
3 |
+
body {
|
4 |
+
overflow: hidden;
|
5 |
+
background-size: cover;
|
6 |
+
display: grid;
|
7 |
+
align-items: center;
|
8 |
+
justify-content: center;
|
9 |
+
height: 1px;
|
10 |
+
}
|
11 |
+
.container {
|
12 |
+
/*width: 30rem;*/
|
13 |
+
/*height: 20rem;*/
|
14 |
+
padding: 0px;
|
15 |
+
justify-content: center;
|
16 |
+
box-shadow: 0 0 1rem 0 rgba(0, 0, 0, .2);
|
17 |
+
border-radius: 15px;
|
18 |
+
background-color: rgba(255, 255, 255, .15);
|
19 |
+
backdrop-filter: blur(10px);
|
20 |
+
}
|
21 |
+
.switch-field {
|
22 |
+
border-radius: 30px;
|
23 |
+
display: flex;
|
24 |
+
margin-bottom: 5px;
|
25 |
+
overflow: hidden;
|
26 |
+
height: 50px;
|
27 |
+
}
|
28 |
+
|
29 |
+
.switch-field input {
|
30 |
+
/*position: absolute !important;*/
|
31 |
+
clip: rect(0, 0, 0, 0);
|
32 |
+
height: 1px;
|
33 |
+
width: 1px;
|
34 |
+
border: 0;
|
35 |
+
overflow: hidden;
|
36 |
+
padding: 0px;
|
37 |
+
margin: 0px;
|
38 |
+
}
|
39 |
+
|
40 |
+
.switch-field label {
|
41 |
+
background-color: #e4e4e4;
|
42 |
+
color: rgba(0, 0, 0, 0.6);
|
43 |
+
font-size: 23px;
|
44 |
+
font-family: Bahnschrift;
|
45 |
+
font-weight: bold;
|
46 |
+
line-height: 1;
|
47 |
+
text-align: center;
|
48 |
+
padding: 14px 16px;
|
49 |
+
margin-right: -1px;
|
50 |
+
border: 1px solid rgba(0, 0, 0, 0.2);
|
51 |
+
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
|
52 |
+
transition: all 0.15s ease-in-out;
|
53 |
+
}
|
54 |
+
.switch-field label:hover {
|
55 |
+
background-color: #888;
|
56 |
+
color: rgba(0, 0, 0, 0.6);
|
57 |
+
font-size: 23px;
|
58 |
+
font-family: Bahnschrift;
|
59 |
+
font-weight: bold;
|
60 |
+
line-height: 1;
|
61 |
+
text-align: center;
|
62 |
+
padding: 14px 16px;
|
63 |
+
margin-right: -1px;
|
64 |
+
border: 1px solid rgba(0, 0, 0, 0.2);
|
65 |
+
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
|
66 |
+
transition: all 0.1s ease-in-out;
|
67 |
+
}
|
68 |
+
|
69 |
+
.switch-field label:hover {
|
70 |
+
cursor: pointer;
|
71 |
+
}
|
72 |
+
|
73 |
+
.switch-field input:checked + label {
|
74 |
+
background-color: #000;
|
75 |
+
color: #656565;
|
76 |
+
box-shadow: none;
|
77 |
+
}
|
78 |
+
|
79 |
+
.switch-field label:first-of-type {
|
80 |
+
border-radius: 4px 0 0 4px;
|
81 |
+
}
|
82 |
+
|
83 |
+
.switch-field label:last-of-type {
|
84 |
+
border-radius: 0 4px 4px 0;
|
85 |
+
}
|
86 |
+
|
87 |
+
.form {
|
88 |
+
max-width: 270px;
|
89 |
+
font-family: "Lucida Grande", Tahoma, Verdana, sans-serif;
|
90 |
+
font-weight: bold;
|
91 |
+
line-height: 1.625;
|
92 |
+
margin: 8px auto;
|
93 |
+
padding-left: 16px;
|
94 |
+
z-index: 2;
|
95 |
+
}
|
96 |
+
|
97 |
+
h2 {
|
98 |
+
font-family: Bahnschrift;
|
99 |
+
font-size: 20px;
|
100 |
+
margin-bottom: 9px;
|
101 |
+
}
|
102 |
+
.area{
|
103 |
+
font-family: Bahnschrift;
|
104 |
+
text-align:center;
|
105 |
+
outline: 0;
|
106 |
+
background: #f2f2f2;
|
107 |
+
width: 80%;
|
108 |
+
border: 3px solid #f2f2f2;
|
109 |
+
margin: 0 0 10px;
|
110 |
+
padding: 10px;
|
111 |
+
box-sizing: border-box;
|
112 |
+
font-size: 20px;
|
113 |
+
height: 50px;
|
114 |
+
border-radius: 25px;
|
115 |
+
font-weight: bold;
|
116 |
+
}
|
117 |
+
|
118 |
+
.location{
|
119 |
+
font-family: Bahnschrift;
|
120 |
+
outline: 0;
|
121 |
+
background: #f2f2f2;
|
122 |
+
width: 80%;
|
123 |
+
border: 3px solid #f2f2f2;
|
124 |
+
margin: 0 0 10px;
|
125 |
+
padding: 10px;
|
126 |
+
box-sizing: border-box;
|
127 |
+
font-size: 20px;
|
128 |
+
font-weight: bold;
|
129 |
+
height: 50px;
|
130 |
+
border-radius: 25px;
|
131 |
+
}
|
132 |
+
|
133 |
+
.submit{
|
134 |
+
font-family: Bahnschrift;
|
135 |
+
background: #000;
|
136 |
+
width: 80%;
|
137 |
+
border: 3px solid #000;
|
138 |
+
margin: 25px 0 10px;
|
139 |
+
box-sizing: border-box;
|
140 |
+
font-weight: bold;
|
141 |
+
font-size: 20px;
|
142 |
+
color: #fff;
|
143 |
+
height: 50px;
|
144 |
+
text-align: center;
|
145 |
+
border-radius: 25px;
|
146 |
+
}
|
147 |
+
|
148 |
+
.result{
|
149 |
+
background: #000;
|
150 |
+
font-family: Bahnschrift;
|
151 |
+
width: 80%;
|
152 |
+
border: 2px solid #fff;
|
153 |
+
margin: 25px 0 20px;
|
154 |
+
color: #fff;
|
155 |
+
box-sizing: border-box;
|
156 |
+
font-size: 23px;
|
157 |
+
font-weight: bold;
|
158 |
+
height: 50px;
|
159 |
+
text-align: center;
|
160 |
+
border-radius: 25px;
|
161 |
+
padding-top: 10px;
|
162 |
+
padding-bottom: 10px;
|
163 |
+
}
|
164 |
+
|
165 |
+
.img {
|
166 |
+
background-image: url('thumb-1920-102834.jpg');
|
167 |
+
background-repeat: no-repeat;
|
168 |
+
background-size: auto;
|
169 |
+
background-size:100% 100%;
|
170 |
+
-webkit-filter: blur(1px);
|
171 |
+
-moz-filter: blur(1px);
|
172 |
+
-o-filter: blur(1px);
|
173 |
+
-ms-filter: blur(1px);
|
174 |
+
/*filter: blur(2px);*/
|
175 |
+
position: fixed;
|
176 |
+
width: 100%;
|
177 |
+
height: 100%;
|
178 |
+
top: 0;
|
179 |
+
left: 0;
|
180 |
+
z-index: -1;
|
181 |
+
}
|
182 |
+
|
183 |
+
body, html {
|
184 |
+
height: 100%;
|
185 |
+
}
|
static/css/thumb-1920-102834.jpg
ADDED
templates/index.html
ADDED
@@ -0,0 +1,300 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<title>Banglore Home Price Prediction</title>
|
5 |
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
6 |
+
<!--<script src="app2.js"></script>-->
|
7 |
+
<link rel="stylesheet" href="{{ url_for('static',filename='css/style.css') }}">
|
8 |
+
</head>
|
9 |
+
<body>
|
10 |
+
<div class="img"></div>
|
11 |
+
<div class="container">
|
12 |
+
<center>
|
13 |
+
<table style="margin: 0px auto;"><tr align="center"><td align="center"></td>
|
14 |
+
<form class="form" action="{{url_for('predict_home_price')}}" method="POST">
|
15 |
+
<h2>Area (Square Feet)</h2>
|
16 |
+
<input class="area" type="text" id="uiSqft" class="floatLabel" name="total_sqft" value="1000">
|
17 |
+
<h2>BHK</h2><table style="margin: 0px auto;"><tr><td>
|
18 |
+
<div class="switch-field">
|
19 |
+
<input type="radio" id="radio-bhk-1" name="bhk" value="1"/>
|
20 |
+
<label for="radio-bhk-1">1</label>
|
21 |
+
<input type="radio" id="radio-bhk-2" name="bhk" value="2" checked/>
|
22 |
+
<label for="radio-bhk-2">2</label>
|
23 |
+
<input type="radio" id="radio-bhk-3" name="bhk" value="3"/>
|
24 |
+
<label for="radio-bhk-3">3</label>
|
25 |
+
<input type="radio" id="radio-bhk-4" name="bhk" value="4"/>
|
26 |
+
<label for="radio-bhk-4">4</label>
|
27 |
+
<input type="radio" id="radio-bhk-5" name="bhk" value="5"/>
|
28 |
+
<label for="radio-bhk-5">5</label>
|
29 |
+
</div></td></tr></table>
|
30 |
+
<div class="form">
|
31 |
+
<h2>Bathroom</h2><table style="margin: 0px auto;"><tr><td>
|
32 |
+
<div class="switch-field">
|
33 |
+
<input type="radio" id="radio-bath-1" name="bath" value="1"/>
|
34 |
+
<label for="radio-bath-1">1</label>
|
35 |
+
<input type="radio" id="radio-bath-2" name="bath" value="2" checked/>
|
36 |
+
<label for="radio-bath-2">2</label>
|
37 |
+
<input type="radio" id="radio-bath-3" name="bath" value="3"/>
|
38 |
+
<label for="radio-bath-3">3</label>
|
39 |
+
<input type="radio" id="radio-bath-4" name="bath" value="4"/>
|
40 |
+
<label for="radio-bath-4">4</label>
|
41 |
+
<input type="radio" id="radio-bath-5" name="bath" value="5"/>
|
42 |
+
<label for="radio-bath-5">5</label>
|
43 |
+
</div></td></tr></table>
|
44 |
+
<h2>Location</h2>
|
45 |
+
<div>
|
46 |
+
<!--<select class="location" name="" id="uiLocations">
|
47 |
+
<option value="" disabled="disabled" selected="selected">Choose a Location</option>
|
48 |
+
<option>Electronic City</option>
|
49 |
+
<option>Rajaji Nagar</option>
|
50 |
+
</select>-->
|
51 |
+
<select class="location" name="location" id="location">
|
52 |
+
<option value="1st block jayanagar">1st block jayanagar</option>
|
53 |
+
<option value="1st phase jp nagar">1st phase jp nagar</option>
|
54 |
+
<option value="2nd phase judicial layout">2nd phase judicial layout</option>
|
55 |
+
<option value="2nd stage nagarbhavi">2nd stage nagarbhavi</option>
|
56 |
+
<option value="5th phase jp nagar">5th phase jp nagar</option>
|
57 |
+
<option value="6th phase jp nagar">6th phase jp nagar</option>
|
58 |
+
<option value="7th phase jp nagar">7th phase jp nagar</option>
|
59 |
+
<option value="8th phase jp nagar">8th phase jp nagar</option>
|
60 |
+
<option value="9th phase jp nagar">9th phase jp nagar</option>
|
61 |
+
<option value="aecs layout">aecs layout</option>
|
62 |
+
<option value="abbigere">abbigere</option>
|
63 |
+
<option value="akshaya nagar">akshaya nagar</option>
|
64 |
+
<option value="ambalipura">ambalipura</option>
|
65 |
+
<option value="ambedkar nagar">ambedkar nagar</option>
|
66 |
+
<option value="amruthahalli">amruthahalli</option>
|
67 |
+
<option value="anandapura">anandapura</option>
|
68 |
+
<option value="ananth nagar">ananth nagar</option>
|
69 |
+
<option value="anekal">anekal</option>
|
70 |
+
<option value="anjanapura">anjanapura</option>
|
71 |
+
<option value="ardendale">ardendale</option>
|
72 |
+
<option value="arekere">arekere</option>
|
73 |
+
<option value="attibele">attibele</option>
|
74 |
+
<option value="beml layout">beml layout</option>
|
75 |
+
<option value="btm 2nd stage">btm 2nd stage</option>
|
76 |
+
<option value="btm layout">btm layout</option>
|
77 |
+
<option value="babusapalaya">babusapalaya</option>
|
78 |
+
<option value="badavala nagar">badavala nagar</option>
|
79 |
+
<option value="balagere">balagere</option>
|
80 |
+
<option value="banashankari">banashankari</option>
|
81 |
+
<option value="banashankari stage ii">banashankari stage ii</option>
|
82 |
+
<option value="banashankari stage iii">banashankari stage iii</option>
|
83 |
+
<option value="banashankari stage v">banashankari stage v</option>
|
84 |
+
<option value="banashankari stage vi">banashankari stage vi</option>
|
85 |
+
<option value="banaswadi">banaswadi</option>
|
86 |
+
<option value="banjara layout">banjara layout</option>
|
87 |
+
<option value="bannerghatta">bannerghatta</option>
|
88 |
+
<option value="bannerghatta road">bannerghatta road</option>
|
89 |
+
<option value="basavangudi">basavangudi</option>
|
90 |
+
<option value="basaveshwara nagar">basaveshwara nagar</option>
|
91 |
+
<option value="battarahalli">battarahalli</option>
|
92 |
+
<option value="begur">begur</option>
|
93 |
+
<option value="begur road">begur road</option>
|
94 |
+
<option value="bellandur">bellandur</option>
|
95 |
+
<option value="benson town">benson town</option>
|
96 |
+
<option value="bharathi nagar">bharathi nagar</option>
|
97 |
+
<option value="bhoganhalli">bhoganhalli</option>
|
98 |
+
<option value="billekahalli">billekahalli</option>
|
99 |
+
<option value="binny pete">binny pete</option>
|
100 |
+
<option value="bisuvanahalli">bisuvanahalli</option>
|
101 |
+
<option value="bommanahalli">bommanahalli</option>
|
102 |
+
<option value="bommasandra">bommasandra</option>
|
103 |
+
<option value="bommasandra industrial area">bommasandra industrial area</option>
|
104 |
+
<option value="bommenahalli">bommenahalli</option>
|
105 |
+
<option value="brookefield">brookefield</option>
|
106 |
+
<option value="budigere">budigere</option>
|
107 |
+
<option value="cv raman nagar">cv raman nagar</option>
|
108 |
+
<option value="chamrajpet">chamrajpet</option>
|
109 |
+
<option value="chandapura">chandapura</option>
|
110 |
+
<option value="channasandra">channasandra</option>
|
111 |
+
<option value="chikka tirupathi">chikka tirupathi</option>
|
112 |
+
<option value="chikkabanavar">chikkabanavar</option>
|
113 |
+
<option value="chikkalasandra">chikkalasandra</option>
|
114 |
+
<option value="choodasandra">choodasandra</option>
|
115 |
+
<option value="cooke town">cooke town</option>
|
116 |
+
<option value="cox town">cox town</option>
|
117 |
+
<option value="cunningham road">cunningham road</option>
|
118 |
+
<option value="dasanapura">dasanapura</option>
|
119 |
+
<option value="dasarahalli">dasarahalli</option>
|
120 |
+
<option value="devanahalli">devanahalli</option>
|
121 |
+
<option value="devarachikkanahalli">devarachikkanahalli</option>
|
122 |
+
<option value="dodda nekkundi">dodda nekkundi</option>
|
123 |
+
<option value="doddaballapur">doddaballapur</option>
|
124 |
+
<option value="doddakallasandra">doddakallasandra</option>
|
125 |
+
<option value="doddathoguru">doddathoguru</option>
|
126 |
+
<option value="domlur">domlur</option>
|
127 |
+
<option value="dommasandra">dommasandra</option>
|
128 |
+
<option value="epip zone">epip zone</option>
|
129 |
+
<option value="electronic city">electronic city</option>
|
130 |
+
<option value="electronic city phase ii">electronic city phase ii</option>
|
131 |
+
<option value="electronics city phase 1">electronics city phase 1</option>
|
132 |
+
<option value="frazer town">frazer town</option>
|
133 |
+
<option value="gm palaya">gm palaya</option>
|
134 |
+
<option value="garudachar palya">garudachar palya</option>
|
135 |
+
<option value="giri nagar">giri nagar</option>
|
136 |
+
<option value="gollarapalya hosahalli">gollarapalya hosahalli</option>
|
137 |
+
<option value="gottigere">gottigere</option>
|
138 |
+
<option value="green glen layout">green glen layout</option>
|
139 |
+
<option value="gubbalala">gubbalala</option>
|
140 |
+
<option value="gunjur">"gunjur</option>
|
141 |
+
<option value="hbr layout">hbr layout</option>
|
142 |
+
<option value="hrbr layout">hrbr layout</option>
|
143 |
+
<option value="hsr layout">hsr layout</option>
|
144 |
+
<option value="haralur road">haralur road</option>
|
145 |
+
<option value="harlur">harlur</option>
|
146 |
+
<option value="hebbal">hebbal</option>
|
147 |
+
<option value="hebbal kempapura">hebbal kempapura</option>
|
148 |
+
<option value="hegde nagar">hegde nagar"</option>
|
149 |
+
<option value="hennur">hennur</option>
|
150 |
+
<option value="hennur road">hennur road</option>
|
151 |
+
<option value="hoodi">hoodi</option>
|
152 |
+
<option value="horamavu agara">horamavu agara</option>
|
153 |
+
<option value="horamavu banaswadi">horamavu banaswadi</option>
|
154 |
+
<option value="hormavu">hormavu</option>
|
155 |
+
<option value="hosa road">hosa road</option>
|
156 |
+
<option value="hosakerehalli">hosakerehalli</option>
|
157 |
+
<option value="hoskote">hoskote</option>
|
158 |
+
<option value="hosur road">hosur road</option>
|
159 |
+
<option value="hulimavu">hulimavu</option>
|
160 |
+
<option value="isro layout">isro layout</option>
|
161 |
+
<option value="itpl">itpl</option>
|
162 |
+
<option value="iblur village">iblur village</option>
|
163 |
+
<option value="indira nagar">indira nagar</option>
|
164 |
+
<option value="jp nagar">jp nagar</option>
|
165 |
+
<option value="jakkur">jakkur</option>
|
166 |
+
<option value="jalahalli">jalahalli</option>
|
167 |
+
<option value="jalahalli east">jalahalli east</option>
|
168 |
+
<option value="jigani">jigani</option>
|
169 |
+
<option value="judicial layout">judicial layout</option>
|
170 |
+
<option value="kr puram">kr puram</option>
|
171 |
+
<option value="kadubeesanahalli">kadubeesanahalli</option>
|
172 |
+
<option value="kadugodi">kadugodi</option>
|
173 |
+
<option value="kaggadasapura">kaggadasapura</option>
|
174 |
+
<option value="kaggalipura">kaggalipura</option>
|
175 |
+
<option value="kaikondrahalli">kaikondrahalli</option>
|
176 |
+
<option value="kalena agrahara">kalena agrahara</option>
|
177 |
+
<option value="kalyan nagar">kalyan nagar</option>
|
178 |
+
<option value="kambipura">kambipura</option>
|
179 |
+
<option value="kammanahalli">kammanahalli</option>
|
180 |
+
<option value="kammasandra">kammasandra</option>
|
181 |
+
<option value="kanakapura">kanakapura</option>
|
182 |
+
<option value="kanakpura road">kanakpura road</option>
|
183 |
+
<option value="kannamangala">kannamangala</option>
|
184 |
+
<option value="karuna nagar">karuna nagar</option>
|
185 |
+
<option value="kasavanhalli">kasavanhalli</option>
|
186 |
+
<option value="kasturi nagar">kasturi nagar</option>
|
187 |
+
<option value="kathriguppe">kathriguppe</option>
|
188 |
+
<option value="kaval byrasandra">kaval byrasandra</option>
|
189 |
+
<option value="kenchenahalli">kenchenahalli</option>
|
190 |
+
<option value="kengeri">kengeri</option>
|
191 |
+
<option value="kengeri satellite town">kengeri satellite town</option>
|
192 |
+
<option value="kereguddadahalli">kereguddadahalli</option>
|
193 |
+
<option value="kodichikkanahalli">kodichikkanahalli</option>
|
194 |
+
<option value="kodigehaali">kodigehaali</option>
|
195 |
+
<option value="kodihalli">kodihallikodihalli</option>
|
196 |
+
<option value="kogilu">kogilu</option>
|
197 |
+
<option value="konanakunte">konanakunte</option>
|
198 |
+
<option value="koramangala">koramangala</option>
|
199 |
+
<option value="kothannur">kothannur</option>
|
200 |
+
<option value="kothanur">kothanur</option>
|
201 |
+
<option value="kudlu">kudlu</option>
|
202 |
+
<option value="kudlu gate">kudlu gate</option>
|
203 |
+
<option value="kumaraswami layout">kumaraswami layout</option>
|
204 |
+
<option value="kundalahalli">kundalahalli</option>
|
205 |
+
<option value="lb shastri nagar">lb shastri nagar</option>
|
206 |
+
<option value="laggere">laggere</option>
|
207 |
+
<option value="lakshminarayana pura">lakshminarayana pura</option>
|
208 |
+
<option value="lingadheeranahalli">lingadheeranahalli</option>
|
209 |
+
<option value="magadi road">magadi road</option>
|
210 |
+
<option value="mahadevpura">mahadevpura</option>
|
211 |
+
<option value="mahalakshmi layout">mahalakshmi layout</option>
|
212 |
+
<option value="mallasandra">mallasandra</option>
|
213 |
+
<option value="malleshpalya">malleshpalya</option>
|
214 |
+
<option value="malleshwaram">malleshwaram</option>
|
215 |
+
<option value="marathahalli">marathahalli</option>
|
216 |
+
<option value="margondanahalli">margondanahalli</option>
|
217 |
+
<option value="marsur">marsur</option>
|
218 |
+
<option value="mico layout">mico layout</option>
|
219 |
+
<option value="munnekollal">munnekollal</option>
|
220 |
+
<option value="murugeshpalya">murugeshpalya</option>
|
221 |
+
<option value="mysore road">mysore road</option>
|
222 |
+
<option value="ngr layout">ngr layout</option>
|
223 |
+
<option value="nri layout">nri layout</option>
|
224 |
+
<option value="nagarbhavi">nagarbhavi</option>
|
225 |
+
<option value="nagasandra">nagasandra</option>
|
226 |
+
<option value="nagavara">nagavara</option>
|
227 |
+
<option value="nagavarapalya">nagavarapalya</option>
|
228 |
+
<option value="narayanapura">narayanapura</option>
|
229 |
+
<option value="neeladri nagar">neeladri nagar</option>
|
230 |
+
<option value="ombr layout">ombr layout</option>
|
231 |
+
<option value="old airport road">old airport road</option>
|
232 |
+
<option value="old madras road">old madras road</option>
|
233 |
+
<option value="padmanabhanagar">padmanabhanagar</option>
|
234 |
+
<option value="pai layout">pai layout</option>
|
235 |
+
<option value="panathur">panathur</option>
|
236 |
+
<option value="parappana agrahara">parappana agrahara</option>
|
237 |
+
<option value="pattandur agrahara">pattandur agrahara</option>
|
238 |
+
<option value="poorna pragna layout">poorna pragna layout</option>
|
239 |
+
<option value="prithvi layout">prithvi layout</option>
|
240 |
+
<option value="r.t. nagar">r.t. nagar</option>
|
241 |
+
<option value="rachenahalli">rachenahalli</option>
|
242 |
+
<option value="raja rajeshwari nagar">raja rajeshwari nagar</option>
|
243 |
+
<option value="rajaji nagar">rajaji nagar</option>
|
244 |
+
<option value="rajiv nagar">rajiv nagar</option>
|
245 |
+
<option value="ramagondanahalli">ramagondanahalli</option>
|
246 |
+
<option value="ramamurthy nagar">ramamurthy nagar</option>
|
247 |
+
<option value="rayasandra">rayasandra</option>
|
248 |
+
<option value="sahakara nagar">sahakara nagar</option>
|
249 |
+
<option value="sanjay nagar">sanjay nagar</option>
|
250 |
+
<option value="sarakki nagar">sarakki nagar</option>
|
251 |
+
<option value="sarjapur">sarjapur</option>
|
252 |
+
<option value="sarjapur road">sarjapur road</option>
|
253 |
+
<option value="sarjapura - attibele road">sarjapura - attibele road</option>
|
254 |
+
<option value="sector 2 hsr layout">sector 2 hsr layout</option>
|
255 |
+
<option value="sector 7 hsr layout">sector 7 hsr layout</option>
|
256 |
+
<option value="seegehalli">seegehalli</option>
|
257 |
+
<option value="shampura">shampura</option>
|
258 |
+
<option value="shivaji nagar">shivaji nagar</option>
|
259 |
+
<option value="singasandra">singasandra</option>
|
260 |
+
<option value="somasundara palya">somasundara palya</option>
|
261 |
+
<option value="sompura">sompura</option>
|
262 |
+
<option value="sonnenahalli">sonnenahalli</option>
|
263 |
+
<option value="subramanyapura">subramanyapura</option>
|
264 |
+
<option value="sultan palaya">sultan palaya</option>
|
265 |
+
<option value="tc palaya">tc palaya</option>
|
266 |
+
<option value="talaghattapura">talaghattapura</option>
|
267 |
+
<option value="thanisandra">thanisandra</option>
|
268 |
+
<option value="thigalarapalya">thigalarapalya</option>
|
269 |
+
<option value="thubarahalli">thubarahalli</option>
|
270 |
+
<option value="thyagaraja nagar">thyagaraja nagar</option>
|
271 |
+
<option value="tindlu">tindlu</option>
|
272 |
+
<option value="tumkur road">tumkur road</option>
|
273 |
+
<option value="ulsoor">ulsoor</option>
|
274 |
+
<option value="uttarahalli">uttarahalli</option>
|
275 |
+
<option value="varthur">varthur</option>
|
276 |
+
<option value="varthur road">varthur road</option>
|
277 |
+
<option value="vasanthapura">vasanthapura</option>
|
278 |
+
<option value="vidyaranyapura">vidyaranyapura</option>
|
279 |
+
<option value="vijayanagar">vijayanagar</option>
|
280 |
+
<option value="vishveshwarya layout">vishveshwarya layout</option>
|
281 |
+
<option value="vishwapriya layout">vishwapriya layout</option>
|
282 |
+
<option value="vittasandra">vittasandra</option>
|
283 |
+
<option value="whitefield">whitefield</option>
|
284 |
+
<option value="yelachenahalli">yelachenahalli</option>
|
285 |
+
<option value="yelahanka">yelahanka</option>
|
286 |
+
<option value="yelahanka new town">yelahanka new town</option>
|
287 |
+
<option value="yelenahalli">yelenahalli</option>
|
288 |
+
<option value="yeshwanthpur">yeshwanthpur</option>
|
289 |
+
</select>
|
290 |
+
</div>
|
291 |
+
<button class="submit" class="btn btn-primary btn-block btn-large">Estimate Price</button>
|
292 |
+
</div>
|
293 |
+
</form>
|
294 |
+
</td></tr></table>
|
295 |
+
<div class="result">{{ prediction_text }}</div>
|
296 |
+
<!--<div id="uiEstimatedPrice" class="result"></div>-->
|
297 |
+
</center>
|
298 |
+
</div>
|
299 |
+
</body>
|
300 |
+
</html>
|