LethallyHealthy commited on
Commit
aad4cf3
·
1 Parent(s): b4db134

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -8,9 +8,8 @@ import predictor
8
  #INTERFACE
9
 
10
  #Creating an empty dataset to use in the model
11
- zeros = pd.DataFrame(np.zeros((1,60)), index=[0])
12
- data = pd.DataFrame(np.reshape(predictor.X_test.columns, (1,60)), index=[0])
13
- data = pd.concat((data,zeros))
14
 
15
  OverallQual = st.slider("Overall Quality", 1, 5)
16
  data["OverallQual"] = OverallQual
 
8
  #INTERFACE
9
 
10
  #Creating an empty dataset to use in the model
11
+ data = pd.DataFrame(np.zeros((1,60)),columns=predictor.X_test.columns, index=[0])
12
+
 
13
 
14
  OverallQual = st.slider("Overall Quality", 1, 5)
15
  data["OverallQual"] = OverallQual