Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -562,6 +562,9 @@ def PastHistory():
|
|
562 |
if "load_state" not in st.session_state:
|
563 |
st.session_state.load_state = False
|
564 |
|
|
|
|
|
|
|
565 |
if "admission_button_clicked" not in st.session_state:
|
566 |
st.session_state.admission_button_clicked = False
|
567 |
|
@@ -573,7 +576,7 @@ if "past_button_clicked" not in st.session_state:
|
|
573 |
|
574 |
|
575 |
|
576 |
-
if btnAdmission or st.session_state["
|
577 |
st.session_state["admission_button_clicked"] = True
|
578 |
st.session_state["daily_button_clicked"] = False
|
579 |
st.session_state["past_button_clicked"] = False
|
@@ -591,3 +594,5 @@ if btnPastHistory or st.session_state["past_button_clicked"]:
|
|
591 |
st.session_state["daily_button_clicked"] = False
|
592 |
st.session_state["admission_button_clicked"] = False
|
593 |
PastHistory()
|
|
|
|
|
|
562 |
if "load_state" not in st.session_state:
|
563 |
st.session_state.load_state = False
|
564 |
|
565 |
+
if "button_clicked" not in st.session_state:
|
566 |
+
st.session_state.button_clicked = False
|
567 |
+
|
568 |
if "admission_button_clicked" not in st.session_state:
|
569 |
st.session_state.admission_button_clicked = False
|
570 |
|
|
|
576 |
|
577 |
|
578 |
|
579 |
+
if btnAdmission or st.session_state["button_clicked"]:
|
580 |
st.session_state["admission_button_clicked"] = True
|
581 |
st.session_state["daily_button_clicked"] = False
|
582 |
st.session_state["past_button_clicked"] = False
|
|
|
594 |
st.session_state["daily_button_clicked"] = False
|
595 |
st.session_state["admission_button_clicked"] = False
|
596 |
PastHistory()
|
597 |
+
|
598 |
+
|