Update app.py
Browse files
app.py
CHANGED
|
@@ -30,12 +30,14 @@ 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 |
-
|
| 34 |
# st.write(f"The match score is: {score}", )
|
| 35 |
st.write("The match score is:")
|
| 36 |
st.write(score)
|
| 37 |
|
| 38 |
-
st.write("Keywords:" )
|
| 39 |
st.write(jp)
|
|
|
|
|
|
|
| 40 |
else:
|
| 41 |
st.write("Please enter both the job description and resume.", )
|
|
|
|
| 30 |
if jd and resume:
|
| 31 |
score = calculate_similarity(model, jd, resume)
|
| 32 |
jp=kp.get_key_phrases(jd)
|
| 33 |
+
rp=kp.get_key_phrases(resume)
|
| 34 |
# st.write(f"The match score is: {score}", )
|
| 35 |
st.write("The match score is:")
|
| 36 |
st.write(score)
|
| 37 |
|
| 38 |
+
st.write("JD Keywords:" )
|
| 39 |
st.write(jp)
|
| 40 |
+
st.write("Resume Keywords:" )
|
| 41 |
+
st.write(rp)
|
| 42 |
else:
|
| 43 |
st.write("Please enter both the job description and resume.", )
|