Spaces:
Sleeping
Sleeping
Update similarity_score_refined.py
Browse files
similarity_score_refined.py
CHANGED
@@ -110,7 +110,7 @@ def similarity_main(resume_path,job_description_path):
|
|
110 |
# Extract text from files (replace with actual file paths)
|
111 |
Resume_text = extract_text(resume_path)
|
112 |
job_des = extract_text(job_description_path)
|
113 |
-
api_key=os.environ.get(OPENAI_KEY)
|
114 |
|
115 |
|
116 |
prompt=f"Extract the skills or competencies section from the resume. Avoid using name of the candidate:\n\n{Resume_text}"
|
|
|
110 |
# Extract text from files (replace with actual file paths)
|
111 |
Resume_text = extract_text(resume_path)
|
112 |
job_des = extract_text(job_description_path)
|
113 |
+
api_key=os.environ.get('OPENAI_KEY')
|
114 |
|
115 |
|
116 |
prompt=f"Extract the skills or competencies section from the resume. Avoid using name of the candidate:\n\n{Resume_text}"
|