hanifekaptan commited on
Commit
54176c5
·
verified ·
1 Parent(s): e0031c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -50,9 +50,9 @@ def price(mileage, make, model, trim, type, cylinder, liter, doors, cruise, soun
50
  st.title("Used Car Price Prediction red_car")
51
  st.write("Please select the car features.")
52
  mileage = st.number_input("Mileage", 100, 200000)
53
- make = st.selectbox("Marka", data["Make"].unique())
54
  model = st.selectbox("Model", data[data["Make"] == make]["Model"].unique())
55
- trim = st.selectbox("Trim", data[(df["Make"] == make) & (data["Model"] == model)]["Trim"].unique())
56
  car_type = st.selectbox("Type", data[(df["Make"] == make) & (data["Model"] == model) & (data["Trim"] == trim)]["Type"].unique())
57
  cylinder = st.selectbox("Cylinder", data["Cylinder"].unique())
58
  liter = st.number_input("Fuel Volume", 1, 10)
 
50
  st.title("Used Car Price Prediction red_car")
51
  st.write("Please select the car features.")
52
  mileage = st.number_input("Mileage", 100, 200000)
53
+ make = st.selectbox("Brand", data["Make"].unique())
54
  model = st.selectbox("Model", data[data["Make"] == make]["Model"].unique())
55
+ trim = st.selectbox("Trim", data[(data["Make"] == make) & (data["Model"] == model)]["Trim"].unique())
56
  car_type = st.selectbox("Type", data[(df["Make"] == make) & (data["Model"] == model) & (data["Trim"] == trim)]["Type"].unique())
57
  cylinder = st.selectbox("Cylinder", data["Cylinder"].unique())
58
  liter = st.number_input("Fuel Volume", 1, 10)