Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +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 |
-
import evaluate
|
| 8 |
|
| 9 |
kp = KeyPhraseTransformer()
|
| 10 |
|
|
@@ -26,6 +26,12 @@ def generate_wordcloud(text, title):
|
|
| 26 |
plt.title(title)
|
| 27 |
st.pyplot(plt)
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
st.title("Resume Match Calculator")
|
| 30 |
|
| 31 |
model = load_model()
|
|
@@ -64,4 +70,4 @@ if st.button("Calculate Match Score"):
|
|
| 64 |
st.write(list(missing_keywords))
|
| 65 |
else:
|
| 66 |
st.write("Please enter both the job description and resume.", )
|
| 67 |
-
accuracy = evaluate.load("accuracy")
|
|
|
|
| 4 |
from keyphrasetransformer import KeyPhraseTransformer
|
| 5 |
from wordcloud import WordCloud
|
| 6 |
import matplotlib.pyplot as plt
|
| 7 |
+
#import evaluate
|
| 8 |
|
| 9 |
kp = KeyPhraseTransformer()
|
| 10 |
|
|
|
|
| 26 |
plt.title(title)
|
| 27 |
st.pyplot(plt)
|
| 28 |
|
| 29 |
+
st.set_page_config(
|
| 30 |
+
page_title="Resume Keyword Identifier",
|
| 31 |
+
page_icon="+",
|
| 32 |
+
layout="wide",
|
| 33 |
+
initial_sidebar_state="expanded",
|
| 34 |
+
)
|
| 35 |
st.title("Resume Match Calculator")
|
| 36 |
|
| 37 |
model = load_model()
|
|
|
|
| 70 |
st.write(list(missing_keywords))
|
| 71 |
else:
|
| 72 |
st.write("Please enter both the job description and resume.", )
|
| 73 |
+
#accuracy = evaluate.load("accuracy")
|