Update app.py
Browse files
app.py
CHANGED
|
@@ -69,7 +69,7 @@ def price(make,model,trim,mileage,car_type,cylinder,liter,doors,cruise,sound,lea
|
|
| 69 |
prediction=pipe.predict(input_data)[0]
|
| 70 |
return prediction
|
| 71 |
st.title("Used Car Price Estimation :red_car: @JamesWhiteCookJr90")
|
| 72 |
-
st.write("Enter
|
| 73 |
make=st.selectbox("Make",df['Make'].unique())
|
| 74 |
model=st.selectbox("Model",df[df['Make']==make]['Model'].unique())
|
| 75 |
trim=st.selectbox("Trim",df[(df['Make']==make) & (df['Model']==model)]['Trim'].unique())
|
|
|
|
| 69 |
prediction=pipe.predict(input_data)[0]
|
| 70 |
return prediction
|
| 71 |
st.title("Used Car Price Estimation :red_car: @JamesWhiteCookJr90")
|
| 72 |
+
st.write("Enter features of the car")
|
| 73 |
make=st.selectbox("Make",df['Make'].unique())
|
| 74 |
model=st.selectbox("Model",df[df['Make']==make]['Model'].unique())
|
| 75 |
trim=st.selectbox("Trim",df[(df['Make']==make) & (df['Model']==model)]['Trim'].unique())
|