Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ color = st.selectbox('Color',df['Color'].unique())
|
|
| 55 |
assembly = st.selectbox('Assembly',df['Assembly'].unique())
|
| 56 |
bodyType = st.selectbox('Body Type',df['Body Type'].unique())
|
| 57 |
transmissionType = st.selectbox('Transmission Type',df['Transmission Type'].unique())
|
| 58 |
-
registrationStatus = st.radio('Registration Status',[
|
| 59 |
if st.button('Predict'):
|
| 60 |
pred=price(companyName,modelName,modelYear,locaiton,mileage,engineType,engineCapacity,color,assembly,bodyType,transmissionType,registrationStatus)
|
| 61 |
st.success(f'The predicted price is {pred} $')
|
|
|
|
| 55 |
assembly = st.selectbox('Assembly',df['Assembly'].unique())
|
| 56 |
bodyType = st.selectbox('Body Type',df['Body Type'].unique())
|
| 57 |
transmissionType = st.selectbox('Transmission Type',df['Transmission Type'].unique())
|
| 58 |
+
registrationStatus = st.radio('Registration Status',[True,False])
|
| 59 |
if st.button('Predict'):
|
| 60 |
pred=price(companyName,modelName,modelYear,locaiton,mileage,engineType,engineCapacity,color,assembly,bodyType,transmissionType,registrationStatus)
|
| 61 |
st.success(f'The predicted price is {pred} $')
|