Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -17,5 +17,5 @@ Condition = st.number_input("Condition: ",min_value=1,max_value=5,step=1)
|
|
| 17 |
if st.button("Estimate"):
|
| 18 |
model_input = np.array([[sqft_living,sqft_lot,floors,Bedrooms,Condition]])
|
| 19 |
prediction = model.predict(model_input)
|
| 20 |
-
formatted_pred = round(prediction[0],2)
|
| 21 |
st.write(f"House Analysis: {formatted_pred}")
|
|
|
|
| 17 |
if st.button("Estimate"):
|
| 18 |
model_input = np.array([[sqft_living,sqft_lot,floors,Bedrooms,Condition]])
|
| 19 |
prediction = model.predict(model_input)
|
| 20 |
+
formatted_pred = round(prediction[0].item(),2)
|
| 21 |
st.write(f"House Analysis: {formatted_pred}")
|