Priyanka-Balivada
commited on
Commit
•
2c0f654
1
Parent(s):
ee8cb1c
Update app.py
Browse files
app.py
CHANGED
@@ -16,9 +16,6 @@ import seaborn as sns
|
|
16 |
nltk.download('punkt')
|
17 |
|
18 |
|
19 |
-
nlp_model_path = "en_Resume_Matching_Keywords"
|
20 |
-
nlp = spacy.load(nlp_model_path)
|
21 |
-
|
22 |
float_regex = re.compile(r'^\d{1,2}(\.\d{1,2})?$')
|
23 |
email_pattern = r'\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b'
|
24 |
float_digit_regex = re.compile(r'^\d{10}$')
|
@@ -109,6 +106,8 @@ if resumes_files:
|
|
109 |
"Upload Job Description PDF", type=["pdf"])
|
110 |
|
111 |
if job_descriptions_file:
|
|
|
|
|
112 |
|
113 |
# Backend Processing
|
114 |
job_description_text = extract_text_from_pdf(job_descriptions_file)
|
|
|
16 |
nltk.download('punkt')
|
17 |
|
18 |
|
|
|
|
|
|
|
19 |
float_regex = re.compile(r'^\d{1,2}(\.\d{1,2})?$')
|
20 |
email_pattern = r'\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b'
|
21 |
float_digit_regex = re.compile(r'^\d{10}$')
|
|
|
106 |
"Upload Job Description PDF", type=["pdf"])
|
107 |
|
108 |
if job_descriptions_file:
|
109 |
+
nlp_model_path = "en_Resume_Matching_Keywords"
|
110 |
+
nlp = spacy.load(nlp_model_path)
|
111 |
|
112 |
# Backend Processing
|
113 |
job_description_text = extract_text_from_pdf(job_descriptions_file)
|