Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@ import streamlit as st
|
|
| 2 |
from sentence_transformers import SentenceTransformer
|
| 3 |
from sklearn.metrics.pairwise import cosine_similarity
|
| 4 |
from keyphrasetransformer import KeyPhraseTransformer
|
|
|
|
| 5 |
kp = KeyPhraseTransformer()
|
| 6 |
|
| 7 |
@st.cache_resource
|
|
@@ -22,6 +23,7 @@ st.markdown("<style>#fc1{font-size: 20px !important;}</style>", unsafe_allow_htm
|
|
| 22 |
|
| 23 |
jd = st.text_area("Paste the Job Description:", height=200)
|
| 24 |
resume = st.text_area("Paste Your the Resume:", height=200)
|
|
|
|
| 25 |
kp.get_key_phrases(jd)
|
| 26 |
|
| 27 |
if st.button("Calculate Match Score"):
|
|
|
|
| 2 |
from sentence_transformers import SentenceTransformer
|
| 3 |
from sklearn.metrics.pairwise import cosine_similarity
|
| 4 |
from keyphrasetransformer import KeyPhraseTransformer
|
| 5 |
+
|
| 6 |
kp = KeyPhraseTransformer()
|
| 7 |
|
| 8 |
@st.cache_resource
|
|
|
|
| 23 |
|
| 24 |
jd = st.text_area("Paste the Job Description:", height=200)
|
| 25 |
resume = st.text_area("Paste Your the Resume:", height=200)
|
| 26 |
+
|
| 27 |
kp.get_key_phrases(jd)
|
| 28 |
|
| 29 |
if st.button("Calculate Match Score"):
|