Unknown92 commited on
Commit
f34e136
·
1 Parent(s): 8bc65a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -4,6 +4,7 @@ from sklearn.metrics.pairwise import cosine_similarity
4
  from keyphrasetransformer import KeyPhraseTransformer
5
  from wordcloud import WordCloud
6
  import matplotlib.pyplot as plt
 
7
 
8
  kp = KeyPhraseTransformer()
9
 
@@ -61,6 +62,7 @@ if st.button("Calculate Match Score"):
61
 
62
  st.write("Missing Keywords in Resume:" )
63
  st.write(list(missing_keywords))
 
64
  else:
65
  st.write("Please enter both the job description and resume.", )
66
 
 
4
  from keyphrasetransformer import KeyPhraseTransformer
5
  from wordcloud import WordCloud
6
  import matplotlib.pyplot as plt
7
+ import evaluate
8
 
9
  kp = KeyPhraseTransformer()
10
 
 
62
 
63
  st.write("Missing Keywords in Resume:" )
64
  st.write(list(missing_keywords))
65
+ metric = evaluate.load("accuracy")
66
  else:
67
  st.write("Please enter both the job description and resume.", )
68