Spaces:
Build error
Build error
LethallyHealthy
commited on
Commit
·
aad4cf3
1
Parent(s):
b4db134
Update app.py
Browse files
app.py
CHANGED
@@ -8,9 +8,8 @@ import predictor
|
|
8 |
#INTERFACE
|
9 |
|
10 |
#Creating an empty dataset to use in the model
|
11 |
-
|
12 |
-
|
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
|