Spaces:
Runtime error
Runtime error
Isabel Gwara
commited on
Commit
·
3898702
1
Parent(s):
52855ba
Update app.py
Browse files
app.py
CHANGED
@@ -141,10 +141,10 @@ if form.form_submit_button("Submit to get your recommendation!"):
|
|
141 |
|
142 |
form.subheader(prediction)
|
143 |
|
144 |
-
col1, col2
|
145 |
col1.metric("Number of Options", len(cat_value_dicts[final_colname]))
|
146 |
col2.metric("Model Accuracy", str(round(metrics.accuracy_score(y_test, y_pred) * 100, 1)) + '%')
|
147 |
-
|
148 |
|
149 |
|
150 |
with open('info.md') as f:
|
|
|
141 |
|
142 |
form.subheader(prediction)
|
143 |
|
144 |
+
col1, col2 = st.columns(2)
|
145 |
col1.metric("Number of Options", len(cat_value_dicts[final_colname]))
|
146 |
col2.metric("Model Accuracy", str(round(metrics.accuracy_score(y_test, y_pred) * 100, 1)) + '%')
|
147 |
+
st.metric("Most Important Question", get_feat())
|
148 |
|
149 |
|
150 |
with open('info.md') as f:
|