Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +19,6 @@ def main():
|
|
19 |
BHK = st.slider("BHK",min_value=1,max_value=6)
|
20 |
Size = st.slider("Size",min_value=10,max_value=8000)
|
21 |
Bathroom = st.slider("Bathroom",min_value=1,max_value=10)
|
22 |
-
FloorLevels = st.slider("Floor Level",min_value=1,max_value=89)
|
23 |
-
TotalFloor = st.slider("Total Floors",min_value=1,max_value=89)
|
24 |
AreaType = st.selectbox("Area Type",options=unique_area_type)
|
25 |
city = st.selectbox("City",options=unique_city)
|
26 |
FurnishingStatus = st.selectbox("Furnishing Status",options=unique_furnishing)
|
@@ -33,8 +31,6 @@ def main():
|
|
33 |
result=model.predict(pd.DataFrame({"BHK": [BHK],
|
34 |
"Size": [Size],
|
35 |
"Bathroom": [Bathroom],
|
36 |
-
"Floor Level": [FloorLevels],
|
37 |
-
"Total Floors": [TotalFloor],
|
38 |
"Area Type": [AreaType],
|
39 |
"City": [city],
|
40 |
"Furnishing Status": [FurnishingStatus],
|
|
|
19 |
BHK = st.slider("BHK",min_value=1,max_value=6)
|
20 |
Size = st.slider("Size",min_value=10,max_value=8000)
|
21 |
Bathroom = st.slider("Bathroom",min_value=1,max_value=10)
|
|
|
|
|
22 |
AreaType = st.selectbox("Area Type",options=unique_area_type)
|
23 |
city = st.selectbox("City",options=unique_city)
|
24 |
FurnishingStatus = st.selectbox("Furnishing Status",options=unique_furnishing)
|
|
|
31 |
result=model.predict(pd.DataFrame({"BHK": [BHK],
|
32 |
"Size": [Size],
|
33 |
"Bathroom": [Bathroom],
|
|
|
|
|
34 |
"Area Type": [AreaType],
|
35 |
"City": [city],
|
36 |
"Furnishing Status": [FurnishingStatus],
|