Alexvatti commited on
Commit
1853765
·
verified ·
1 Parent(s): 6aed725

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -34,9 +34,9 @@ def extract_text_from_file(file):
34
  resume_agent = Agent(
35
  role="Resume Keyword Extractor",
36
  goal="Extract important skills and keywords from resumes",
37
- backstory="An ATS system that extracts relevant skills from resumes",
38
  verbose=True,
39
- llm=llm
40
  )
41
 
42
  jd_agent = Agent(
@@ -69,11 +69,11 @@ if menu == "1️⃣ Extract Resume Keywords":
69
  resume_text = extract_text_from_file(resume_file)
70
 
71
  task_resume = Task(
72
- description = """From the following resume text, extract ONLY technical skills, tools, programming languages, domain-specific keywords, and relevant certifications.
73
- Do NOT include soft skills like 'team player', 'good communication', or general qualities like 'hardworking', 'dedicated', etc.
74
- Focus only on hard skills that are relevant for technical assessment.""",
75
  agent=resume_agent,
76
- expected_output="List of Keywords, technical and domain-specific skills"
77
  )
78
 
79
  crew = Crew(
 
34
  resume_agent = Agent(
35
  role="Resume Keyword Extractor",
36
  goal="Extract important skills and keywords from resumes",
37
+ backstory="An advanced ATS system that extracts relevant technical skills, tools, programming languages, and certifications from resumes for recruiters.",
38
  verbose=True,
39
+ llm=llm # Make sure llm is initialized before this
40
  )
41
 
42
  jd_agent = Agent(
 
69
  resume_text = extract_text_from_file(resume_file)
70
 
71
  task_resume = Task(
72
+ description="""From the following resume text, extract ONLY technical skills, tools, programming languages, domain-specific keywords, and relevant certifications.
73
+ Do NOT include soft skills like 'team player', 'good communication', or general qualities like 'hardworking', 'dedicated', etc.
74
+ Focus only on hard skills that are relevant for technical assessment.""",
75
  agent=resume_agent,
76
+ expected_output="List of keywords, technical skills, tools, programming languages, and certifications mentioned in the resume."
77
  )
78
 
79
  crew = Crew(