skjaini commited on
Commit
8804807
·
verified ·
1 Parent(s): ef3ccdc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -94,7 +94,8 @@ def create_crew(job_description, resume_text):
94
  {resume_text}
95
  --------------
96
  """,
97
- agent=resume_analyzer
 
98
  )
99
 
100
  # Task 2: Analyze the Job Description
@@ -107,7 +108,8 @@ def create_crew(job_description, resume_text):
107
  {job_description}
108
  --------------
109
  """,
110
- agent=job_analyzer
 
111
  )
112
 
113
  # Task 3: Suggest Improvements
@@ -122,7 +124,8 @@ def create_crew(job_description, resume_text):
122
  The resume analysis is: {task_analyze_resume.output}
123
  The job description analysis is: {task_analyze_job_description.output}
124
  """,
125
- agent=improvement_suggestor
 
126
  )
127
 
128
  # --- Crew ---
 
94
  {resume_text}
95
  --------------
96
  """,
97
+ agent=resume_analyzer,
98
+ expected_output="A structured report summarizing the resume's strengths, weaknesses, key skills, and areas for improvement." # Added expected_output
99
  )
100
 
101
  # Task 2: Analyze the Job Description
 
108
  {job_description}
109
  --------------
110
  """,
111
+ agent=job_analyzer,
112
+ expected_output="A structured summary of the job description, including key requirements, desired skills, qualifications, and important keywords." # Added expected_output
113
  )
114
 
115
  # Task 3: Suggest Improvements
 
124
  The resume analysis is: {task_analyze_resume.output}
125
  The job description analysis is: {task_analyze_job_description.output}
126
  """,
127
+ agent=improvement_suggestor,
128
+ expected_output="A list of specific, actionable suggestions for improving the resume, covering content, keywords, formatting, and overall strategy, tailored to the job description." # Added expected_output
129
  )
130
 
131
  # --- Crew ---