Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,6 +58,5 @@ transmissionType = st.selectbox('Transmission Type',df['Transmission Type'].uniq
|
|
| 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 |
-
|
| 62 |
-
st.success(f'The predicted price is :red_car: {value} $')
|
| 63 |
st.balloons()
|
|
|
|
| 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 :red_car: {pred.round(2)} $')
|
|
|
|
| 62 |
st.balloons()
|