Spaces:
Runtime error
Runtime error
Update crewai_resume_optimization.py
Browse files
crewai_resume_optimization.py
CHANGED
@@ -146,12 +146,12 @@ interview_prep_crew = Crew(
|
|
146 |
# ---------------------------
|
147 |
def optimize_resume(resume_text: str, job_description: str) -> str:
|
148 |
inputs = {"resume_text": resume_text, "job_description": job_description}
|
149 |
-
results =
|
150 |
return results.raw
|
151 |
|
152 |
def generate_interview_questions(optimized_resume: str, job_description: str) -> str:
|
153 |
inputs = {"optimized_resume": optimized_resume, "job_description": job_description}
|
154 |
-
results =
|
155 |
return results.raw
|
156 |
|
157 |
def extract_job_description(job_url: str) -> str:
|
|
|
146 |
# ---------------------------
|
147 |
def optimize_resume(resume_text: str, job_description: str) -> str:
|
148 |
inputs = {"resume_text": resume_text, "job_description": job_description}
|
149 |
+
results = resume_optimization_crew .kickoff(inputs=inputs)
|
150 |
return results.raw
|
151 |
|
152 |
def generate_interview_questions(optimized_resume: str, job_description: str) -> str:
|
153 |
inputs = {"optimized_resume": optimized_resume, "job_description": job_description}
|
154 |
+
results = interview_prep_crew.kickoff(inputs=inputs)
|
155 |
return results.raw
|
156 |
|
157 |
def extract_job_description(job_url: str) -> str:
|