Spaces:
Sleeping
Sleeping
Update button css
Browse files
app.py
CHANGED
@@ -54,12 +54,13 @@ st.markdown("""
|
|
54 |
will-change: transform;
|
55 |
}
|
56 |
.stButton>button:hover {
|
57 |
-
# background-color: #3A6FD8;
|
58 |
-
# color: white;
|
59 |
color: #fff;
|
60 |
background-color: #1A1A1A;
|
61 |
box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
|
62 |
transform: translateY(-2px);
|
|
|
|
|
|
|
63 |
|
64 |
}
|
65 |
/* From Uiverse.io by e-coders */
|
@@ -105,13 +106,13 @@ if uploaded_resume and uploaded_job_description:
|
|
105 |
|
106 |
# Display messages based on score range
|
107 |
if similarity_score < 50:
|
108 |
-
st.
|
109 |
pie_colors = ['#FF4B4B', '#E5E5E5']
|
110 |
elif 50 <= similarity_score < 70:
|
111 |
-
st.
|
112 |
pie_colors = ['#FFC107', '#E5E5E5']
|
113 |
else:
|
114 |
-
st.
|
115 |
pie_colors = ['#4CAF50', '#E5E5E5']
|
116 |
|
117 |
# Display Score as a Pie Chart
|
|
|
54 |
will-change: transform;
|
55 |
}
|
56 |
.stButton>button:hover {
|
|
|
|
|
57 |
color: #fff;
|
58 |
background-color: #1A1A1A;
|
59 |
box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
|
60 |
transform: translateY(-2px);
|
61 |
+
# background-color: #3A6FD8;
|
62 |
+
# color: white;
|
63 |
+
|
64 |
|
65 |
}
|
66 |
/* From Uiverse.io by e-coders */
|
|
|
106 |
|
107 |
# Display messages based on score range
|
108 |
if similarity_score < 50:
|
109 |
+
st.markdown('<p style="color: red; font-weight: bold;">Low chance, need to modify your CV!</p>', unsafe_allow_html=True)
|
110 |
pie_colors = ['#FF4B4B', '#E5E5E5']
|
111 |
elif 50 <= similarity_score < 70:
|
112 |
+
st.markdown('<p style="color: red; font-weight: bold;">Good chance but you can improve further!</p>')
|
113 |
pie_colors = ['#FFC107', '#E5E5E5']
|
114 |
else:
|
115 |
+
st.markdown('<p style="color: green; font-weight: bold;">Excellent! You can submit your CV.</p>', unsafe_allow_html=True)
|
116 |
pie_colors = ['#4CAF50', '#E5E5E5']
|
117 |
|
118 |
# Display Score as a Pie Chart
|