Update app.py
Browse files
app.py
CHANGED
|
@@ -24,11 +24,13 @@ st.markdown("<style>#fc1{font-size: 20px !important;}</style>", unsafe_allow_htm
|
|
| 24 |
jd = st.text_area("Paste the Job Description:", height=200)
|
| 25 |
resume = st.text_area("Paste Your the Resume:", height=200)
|
| 26 |
|
| 27 |
-
|
| 28 |
|
| 29 |
if st.button("Calculate Match Score"):
|
| 30 |
if jd and resume:
|
| 31 |
score = calculate_similarity(model, jd, resume)
|
|
|
|
| 32 |
st.write(f"The match score is: {score}", )
|
|
|
|
| 33 |
else:
|
| 34 |
st.write("Please enter both the job description and resume.", )
|
|
|
|
| 24 |
jd = st.text_area("Paste the Job Description:", height=200)
|
| 25 |
resume = st.text_area("Paste Your the Resume:", height=200)
|
| 26 |
|
| 27 |
+
|
| 28 |
|
| 29 |
if st.button("Calculate Match Score"):
|
| 30 |
if jd and resume:
|
| 31 |
score = calculate_similarity(model, jd, resume)
|
| 32 |
+
jp=kp.get_key_phrases(jd)
|
| 33 |
st.write(f"The match score is: {score}", )
|
| 34 |
+
st.write(f"Keywords: {jp}", )
|
| 35 |
else:
|
| 36 |
st.write("Please enter both the job description and resume.", )
|