Update app.py
Browse files
app.py
CHANGED
|
@@ -1,11 +1,9 @@
|
|
| 1 |
-
|
| 2 |
import streamlit as st
|
| 3 |
from sentence_transformers import SentenceTransformer
|
| 4 |
from sklearn.metrics.pairwise import cosine_similarity
|
| 5 |
from keyphrasetransformer import KeyPhraseTransformer
|
| 6 |
from wordcloud import WordCloud
|
| 7 |
import matplotlib.pyplot as plt
|
| 8 |
-
import evaluate
|
| 9 |
|
| 10 |
kp = KeyPhraseTransformer()
|
| 11 |
|
|
@@ -63,9 +61,5 @@ if st.button("Calculate Match Score"):
|
|
| 63 |
|
| 64 |
st.write("Missing Keywords in Resume:" )
|
| 65 |
st.write(list(missing_keywords))
|
| 66 |
-
metric = evaluate.load("accuracy")
|
| 67 |
-
st.write("The Accuracy score is:")
|
| 68 |
-
st.write(metric)
|
| 69 |
else:
|
| 70 |
st.write("Please enter both the job description and resume.", )
|
| 71 |
-
|
|
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from sentence_transformers import SentenceTransformer
|
| 3 |
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 |
|
| 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.", )
|
|
|