Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -639,13 +639,19 @@ if st.session_state.get("basic_done") and st.session_state.get("wound_type"):
|
|
| 639 |
weight = st.text_input("Weight (kg)", help="Enter a number or leave blank")
|
| 640 |
height = st.text_input("Height (cm)", help="Enter a number or leave blank")
|
| 641 |
notes = st.text_area("Short notes (allergies, meds, conscious status...)", max_chars=500, height=80)
|
|
|
|
| 642 |
|
| 643 |
-
|
| 644 |
-
|
| 645 |
-
|
| 646 |
-
|
| 647 |
-
|
| 648 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 649 |
|
| 650 |
# Both submit buttons return True when they were clicked.
|
| 651 |
if emergency_submit and not st.session_state.victim_saved:
|
|
|
|
| 639 |
weight = st.text_input("Weight (kg)", help="Enter a number or leave blank")
|
| 640 |
height = st.text_input("Height (cm)", help="Enter a number or leave blank")
|
| 641 |
notes = st.text_area("Short notes (allergies, meds, conscious status...)", max_chars=500, height=80)
|
| 642 |
+
col1, col2 = st.columns(2)
|
| 643 |
|
| 644 |
+
with col1:
|
| 645 |
+
submit = st.form_submit_button(
|
| 646 |
+
"💾 Save info & get advanced guidance",
|
| 647 |
+
use_container_width=True
|
| 648 |
+
)
|
| 649 |
+
|
| 650 |
+
with col2:
|
| 651 |
+
emergency_submit = st.form_submit_button(
|
| 652 |
+
"🚨 Emergency — Call local services",
|
| 653 |
+
use_container_width=True
|
| 654 |
+
)
|
| 655 |
|
| 656 |
# Both submit buttons return True when they were clicked.
|
| 657 |
if emergency_submit and not st.session_state.victim_saved:
|