Unknown92 commited on
Commit
da3f918
·
1 Parent(s): 7f98468

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -31,6 +31,9 @@ if st.button("Calculate Match Score"):
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)
@@ -40,5 +43,8 @@ if st.button("Calculate Match Score"):
40
 
41
  st.write("Resume Keywords:" )
42
  st.write(rp)
 
 
 
43
  else:
44
  st.write("Please enter both the job description and resume.", )
 
31
  score = calculate_similarity(model, jd, resume)
32
  jp=kp.get_key_phrases(jd)
33
  rp=kp.get_key_phrases(resume)
34
+
35
+ missing_keywords = set(jp) - set(rp)
36
+
37
  # st.write(f"The match score is: {score}", )
38
  st.write("The match score is:")
39
  st.write(score)
 
43
 
44
  st.write("Resume Keywords:" )
45
  st.write(rp)
46
+
47
+ st.write("Missing Keywords in Resume:" )
48
+ st.write(list(missing_keywords))
49
  else:
50
  st.write("Please enter both the job description and resume.", )