dvj4 commited on
Commit
57f3bb3
·
1 Parent(s): bc10c76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -29,12 +29,12 @@ model.fit(X_train, y_train)
29
  # Create a sidebar with sliders for each feature
30
  sidebar = st.sidebar
31
  sidebar.title("Input Features")
32
- lot_area = sidebar.slider("Lot Area", 1300, 215245, 50000)
33
- overall_qual = sidebar.slider("Overall Quality", 1, 10, 5)
34
- overall_cond = sidebar.slider("Overall Condition", 1, 10, 5)
35
- year_built = sidebar.slider("Year Built", 1872, 2010, 1950)
36
- tot_rooms_above_grade = sidebar.slider("Total Rooms Above Grade", 2, 14, 7)
37
- garage_area = sidebar.slider("Garage Area", 0, 1418, 500)
38
  # Create a Pandas DataFrame with the user's input
39
  input_df = pd.DataFrame({
40
  "LotArea": [lot_area],
 
29
  # Create a sidebar with sliders for each feature
30
  sidebar = st.sidebar
31
  sidebar.title("Input Features")
32
+ lot_area = sidebar.slider("Lot Area", 1300, 215245, 1300)
33
+ overall_qual = sidebar.slider("Overall Quality", 1, 10, 6)
34
+ overall_cond = sidebar.slider("Overall Condition", 1, 10, 6)
35
+ year_built = sidebar.slider("Year Built", 1872, 2010, 1980)
36
+ tot_rooms_above_grade = sidebar.slider("Total Rooms Above Grade", 2, 14, 5)
37
+ garage_area = sidebar.slider("Garage Area", 0, 1418, 462)
38
  # Create a Pandas DataFrame with the user's input
39
  input_df = pd.DataFrame({
40
  "LotArea": [lot_area],