adjust dashboard
This commit is contained in:
@@ -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})")
|
||||
|
||||
Reference in New Issue
Block a user