Spaces:
Build error
Build error
LethallyHealthy
commited on
Commit
·
e669638
1
Parent(s):
2ca2b3e
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def st_shap(plot, height=None):
|
|
53 |
if st.button("Calculate Your House Price!"):
|
54 |
results = predictor.make_a_prediction(data)
|
55 |
results_f = '{0:.2f}'.format(results[0])
|
56 |
-
st.subheader('$' +
|
57 |
st.write("Below are the SHAP graphs which can be used to explain the decisions made by the model using the features provided.")
|
58 |
force_plot = predictor.create_shap_models(data)
|
59 |
st_shap(force_plot)
|
|
|
53 |
if st.button("Calculate Your House Price!"):
|
54 |
results = predictor.make_a_prediction(data)
|
55 |
results_f = '{0:.2f}'.format(results[0])
|
56 |
+
st.subheader('$' + results_f)
|
57 |
st.write("Below are the SHAP graphs which can be used to explain the decisions made by the model using the features provided.")
|
58 |
force_plot = predictor.create_shap_models(data)
|
59 |
st_shap(force_plot)
|