Spaces:
Runtime error
Runtime error
Sebastian Gehrmann
commited on
Commit
•
88dffd6
1
Parent(s):
57616af
- datacards/results.py +5 -1
datacards/results.py
CHANGED
@@ -8,10 +8,14 @@ from .streamlit_utils import (
|
|
8 |
make_radio,
|
9 |
)
|
10 |
|
11 |
-
N_FIELDS =
|
12 |
|
13 |
|
14 |
def results_page():
|
|
|
|
|
|
|
|
|
15 |
with st.expander("Previous Results", expanded=False):
|
16 |
key_pref = ["results", "results"]
|
17 |
st.session_state.card_dict["results"]["results"] = st.session_state.card_dict[
|
|
|
8 |
make_radio,
|
9 |
)
|
10 |
|
11 |
+
N_FIELDS = 7
|
12 |
|
13 |
|
14 |
def results_page():
|
15 |
+
st.session_state.card_dict["results"] = st.session_state.card_dict.get(
|
16 |
+
"results", {}
|
17 |
+
)
|
18 |
+
|
19 |
with st.expander("Previous Results", expanded=False):
|
20 |
key_pref = ["results", "results"]
|
21 |
st.session_state.card_dict["results"]["results"] = st.session_state.card_dict[
|