Update main.py
Browse files
main.py
CHANGED
|
@@ -101,9 +101,9 @@ def main():
|
|
| 101 |
intervention_fig = visualization.plot_intervention_statistics(intervention_stats)
|
| 102 |
|
| 103 |
with col2:
|
| 104 |
-
intervention_frequency = intervention_stats['Intervention
|
| 105 |
# Display the "Intervention Frequency (%)" text
|
| 106 |
-
st.markdown("<h3 style='color: #358E66;'>Intervention
|
| 107 |
# Display the frequency value below it
|
| 108 |
st.markdown(f"<h1 style='color: #358E66;'>{intervention_frequency}%</h1>", unsafe_allow_html=True)
|
| 109 |
|
|
|
|
| 101 |
intervention_fig = visualization.plot_intervention_statistics(intervention_stats)
|
| 102 |
|
| 103 |
with col2:
|
| 104 |
+
intervention_frequency = intervention_stats['Intervention Dosage (%)'].values[0]
|
| 105 |
# Display the "Intervention Frequency (%)" text
|
| 106 |
+
st.markdown("<h3 style='color: #358E66;'>Intervention Dosage</h3>", unsafe_allow_html=True)
|
| 107 |
# Display the frequency value below it
|
| 108 |
st.markdown(f"<h1 style='color: #358E66;'>{intervention_frequency}%</h1>", unsafe_allow_html=True)
|
| 109 |
|