Mummia-99 commited on
Commit
14b89c2
·
verified ·
1 Parent(s): c454070

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -1
app.py CHANGED
@@ -34,7 +34,19 @@ bank_model=joblib.load("bank_churn_svc_model.joblib")
34
  col1, col2 = st.columns(2)
35
  with col1:
36
  ## CreditScore
37
- st.markdown('<span style="color:#1ba098;">Slide the Credit Score Value::</span>', unsafe_allow_html=True)
 
 
 
 
 
 
 
 
 
 
 
 
38
  credit_score=st.slider("",min_value=350,max_value=850)
39
 
40
  with col2:
 
34
  col1, col2 = st.columns(2)
35
  with col1:
36
  ## CreditScore
37
+
38
+ st.markdown(f"""
39
+ <div style="
40
+ padding: 15px;
41
+ background-color: {color};
42
+ border-radius: 10px;
43
+ text-align: center;
44
+ font-size: 18px;
45
+ font-weight: bold;
46
+ color: white;">
47
+ { "Slide the Credit Score Value:"}
48
+ </div>
49
+ """, unsafe_allow_html=True)
50
  credit_score=st.slider("",min_value=350,max_value=850)
51
 
52
  with col2: