Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import nltk
|
|
5 |
from nltk.corpus import stopwords
|
6 |
from nltk.tokenize import word_tokenize
|
7 |
|
8 |
-
# Download
|
9 |
nltk.download("stopwords")
|
10 |
nltk.download("punkt")
|
11 |
|
@@ -62,7 +62,7 @@ def keyword_match(job_desc, resume):
|
|
62 |
|
63 |
st.title("Resume and Job Description Similarity Checker")
|
64 |
|
65 |
-
job_description = st.text_area("Paste
|
66 |
resume_text = st.text_area("Paste your resume here:", height=200)
|
67 |
|
68 |
if st.button("Compare"):
|
@@ -104,4 +104,4 @@ if st.button("Compare"):
|
|
104 |
else:
|
105 |
st.error("Very low match. Your resume is significantly different from the job description. Major revisions may be needed.")
|
106 |
else:
|
107 |
-
st.error("Please paste both the job description and your resume to proceed.")
|
|
|
5 |
from nltk.corpus import stopwords
|
6 |
from nltk.tokenize import word_tokenize
|
7 |
|
8 |
+
# Download NLTK data files
|
9 |
nltk.download("stopwords")
|
10 |
nltk.download("punkt")
|
11 |
|
|
|
62 |
|
63 |
st.title("Resume and Job Description Similarity Checker")
|
64 |
|
65 |
+
job_description = st.text_area("Paste any job description here:", height=200)
|
66 |
resume_text = st.text_area("Paste your resume here:", height=200)
|
67 |
|
68 |
if st.button("Compare"):
|
|
|
104 |
else:
|
105 |
st.error("Very low match. Your resume is significantly different from the job description. Major revisions may be needed.")
|
106 |
else:
|
107 |
+
st.error("Please paste both the job description and your resume to proceed.")
|