adjust dashboard

This commit is contained in:
Philipp Jacoby
2026-02-08 15:13:45 +01:00
parent 23efc52da9
commit 142ef81125
5 changed files with 1112 additions and 434 deletions

View File

@@ -489,7 +489,7 @@ try:
st.warning("Network data not available. Run the ETL script to generate this visualization.")
# COMPARE DRUGS PAGE
elif page == "Compare Drugs 🆕":
elif page == "Compare Drugs":
st.header("⚖️ Compare Drugs Side-by-Side")
drug_names = sorted(super_drugs['name'].unique())
@@ -541,7 +541,7 @@ try:
# Winner determination
st.markdown("---")
st.subheader("🏆 Recommendation")
st.subheader("Recommendation")
if drug1_data['super_score'] > drug2_data['super_score']:
st.success(f"**{drug1}** has a better benefit/risk ratio (Super Score: {drug1_data['super_score']:.2f})")