Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -574,20 +574,20 @@ if "past_button_clicked" not in st.session_state:
|
|
574 |
|
575 |
|
576 |
if btnAdmission or st.session_state["admission_button_clicked"]:
|
577 |
-
|
578 |
st.session_state["daily_button_clicked"] = False
|
579 |
st.session_state["past_button_clicked"] = False
|
580 |
Admission()
|
581 |
|
582 |
if btnDailyNarrative or st.session_state["daily_button_clicked"]:
|
583 |
-
|
584 |
st.session_state["admission_button_clicked"] = False
|
585 |
st.session_state["past_button_clicked"] = False
|
586 |
DailyNarrative()
|
587 |
|
588 |
|
589 |
if btnPastHistory or st.session_state["past_button_clicked"]:
|
590 |
-
|
591 |
st.session_state["daily_button_clicked"] = False
|
592 |
st.session_state["admission_button_clicked"] = False
|
593 |
PastHistory()
|
|
|
574 |
|
575 |
|
576 |
if btnAdmission or st.session_state["admission_button_clicked"]:
|
577 |
+
st.session_state["admission_button_clicked"] = True
|
578 |
st.session_state["daily_button_clicked"] = False
|
579 |
st.session_state["past_button_clicked"] = False
|
580 |
Admission()
|
581 |
|
582 |
if btnDailyNarrative or st.session_state["daily_button_clicked"]:
|
583 |
+
st.session_state["daily_button_clicked"] = True
|
584 |
st.session_state["admission_button_clicked"] = False
|
585 |
st.session_state["past_button_clicked"] = False
|
586 |
DailyNarrative()
|
587 |
|
588 |
|
589 |
if btnPastHistory or st.session_state["past_button_clicked"]:
|
590 |
+
st.session_state["past_button_clicked"] = True
|
591 |
st.session_state["daily_button_clicked"] = False
|
592 |
st.session_state["admission_button_clicked"] = False
|
593 |
PastHistory()
|