Update app.py
Browse files
app.py
CHANGED
|
@@ -50,6 +50,27 @@ if st.button("START"):
|
|
| 50 |
st.write("The match score is:")
|
| 51 |
st.write(score)
|
| 52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
# Find missing keywords in rp with respect to jp
|
| 54 |
|
| 55 |
missing_keywords = set(jp) - set(rp)
|
|
|
|
| 50 |
st.write("The match score is:")
|
| 51 |
st.write(score)
|
| 52 |
|
| 53 |
+
# Find missing keywords in rp with respect to jp
|
| 54 |
+
|
| 55 |
+
missing_keywords = set(jp) - set(rp)
|
| 56 |
+
|
| 57 |
+
st.write("Keywords from Job Description:" )
|
| 58 |
+
st.write(jp)
|
| 59 |
+
|
| 60 |
+
st.write("Keywords from Resume:" )
|
| 61 |
+
st.write(rp)
|
| 62 |
+
|
| 63 |
+
st.write("Missing Keywords in Resume:" )
|
| 64 |
+
st.write(list(missing_keywords))
|
| 65 |
+
else:
|
| 66 |
+
st.write("Please enter both the job description and resume.", )
|
| 67 |
+
if st.button("Get Keywords"):
|
| 68 |
+
if jd and resume:
|
| 69 |
+
|
| 70 |
+
jp=kp.get_key_phrases(jd)
|
| 71 |
+
rp=kp.get_key_phrases(resume)
|
| 72 |
+
|
| 73 |
+
|
| 74 |
# Find missing keywords in rp with respect to jp
|
| 75 |
|
| 76 |
missing_keywords = set(jp) - set(rp)
|