neslisahozturk commited on
Commit
ba80385
1 Parent(s): af73787

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -82,8 +82,10 @@ doors=st.selectbox("Door",df['Doors'].unique())
82
  cruise=st.radio("Velocity Cons.",[True,False])
83
  sound=st.radio("Sound System",[True,False])
84
  leather=st.radio("Leather seats",[True,False])
 
 
85
  if st.button("Prediction"):
86
  pred=price(make,model,trim,mileage,car_type,cylinder,liter,doors,cruise,sound,leather)
87
- st.write("Predicted Price $",round(pred[0],2))
88
 
 
89
 
 
82
  cruise=st.radio("Velocity Cons.",[True,False])
83
  sound=st.radio("Sound System",[True,False])
84
  leather=st.radio("Leather seats",[True,False])
85
+
86
+
87
  if st.button("Prediction"):
88
  pred=price(make,model,trim,mileage,car_type,cylinder,liter,doors,cruise,sound,leather)
 
89
 
90
+ st.write("Predicted Price ",round(pred[0],2))
91