Spaces:
Sleeping
Sleeping
skanderovitch
commited on
Commit
•
548c155
1
Parent(s):
a41a64b
Update app.py
Browse files
app.py
CHANGED
@@ -159,7 +159,7 @@ if st.session_state.stage == 1:
|
|
159 |
data = pd.DataFrame(data,columns=cols).set_index('how_long_ago').sort_values('weight',ascending=False)[:10]
|
160 |
col2.subheader(f'In the past, you played')
|
161 |
col2.dataframe(data.style.background_gradient(cmap=cm), use_container_width=True)
|
162 |
-
col2.subheader(f'I
|
163 |
|
164 |
st.button('Start over', on_click=reset_game, args=[],
|
165 |
use_container_width=True)
|
|
|
159 |
data = pd.DataFrame(data,columns=cols).set_index('how_long_ago').sort_values('weight',ascending=False)[:10]
|
160 |
col2.subheader(f'In the past, you played')
|
161 |
col2.dataframe(data.style.background_gradient(cmap=cm), use_container_width=True)
|
162 |
+
col2.subheader(f'So I chose {choice}, p={pred[choice]:.0%}')
|
163 |
|
164 |
st.button('Start over', on_click=reset_game, args=[],
|
165 |
use_container_width=True)
|