Hasitha16 commited on
Commit
b901475
Β·
verified Β·
1 Parent(s): 427e0d5

Update frontend.py

Browse files
Files changed (1) hide show
  1. frontend.py +1 -2
frontend.py CHANGED
@@ -145,8 +145,7 @@ with tab1:
145
  color = "πŸ”΄" if risk == "High Risk" else "🟒"
146
  st.metric("🚨 Churn Risk", f"{color} {risk}")
147
 
148
- if "churn_risk" in data:
149
- st.warning(f"⚠️ Estimated Churn Risk: {data['churn_risk']}")
150
  if "pain_points" in data and data["pain_points"]:
151
  st.error("πŸ” Pain Points: " + ", ".join(data["pain_points"]))
152
 
 
145
  color = "πŸ”΄" if risk == "High Risk" else "🟒"
146
  st.metric("🚨 Churn Risk", f"{color} {risk}")
147
 
148
+
 
149
  if "pain_points" in data and data["pain_points"]:
150
  st.error("πŸ” Pain Points: " + ", ".join(data["pain_points"]))
151