laurenramroop commited on
Commit
1ae1b13
·
verified ·
1 Parent(s): 529c4d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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 stop words if not already available
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 a job description here:", height=200)
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.")