yusufenes commited on
Commit
a20ef1d
·
verified ·
1 Parent(s): 76caef1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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',[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} $')
 
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.selectbox('Registration Status',df['Registration Status'].unique())
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} $')