rasmodev commited on
Commit
3220865
·
verified ·
1 Parent(s): aa5f48f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -126,11 +126,9 @@ if st.button("🔮 Predict Sepsis"):
126
 
127
  # Display the sepsis prediction and risk
128
  if sepsis_status == 'Negative':
129
- st.success("The patient is at low risk of developing sepsis.")
130
- st.success(f"The predicted sepsis status is: {sepsis_status}")
131
  elif sepsis_status == 'Positive':
132
- st.error("The patient is at high risk of developing sepsis.")
133
- st.error(f"The predicted sepsis status is: {sepsis_status}")
134
 
135
  # Add the sepsis prediction to the input DataFrame
136
  input_data['Sepsis'] = sepsis_status
 
126
 
127
  # Display the sepsis prediction and risk
128
  if sepsis_status == 'Negative':
129
+ st.success(f"The patient is at **low risk** of developing sepsis. The predicted sepsis status is: **{sepsis_status}**")
 
130
  elif sepsis_status == 'Positive':
131
+ st.error(f"**The patient is at **high risk** of developing sepsis. The predicted sepsis status is: **{sepsis_status}**")
 
132
 
133
  # Add the sepsis prediction to the input DataFrame
134
  input_data['Sepsis'] = sepsis_status