avimittal30 commited on
Commit
8a0a11a
·
1 Parent(s): 3f3f730

final push

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,12 +29,12 @@ class JobDescriptionRequest(BaseModel):
29
  class ResumeResponse(BaseModel):
30
  top_resumes: List[str]
31
 
32
- job_details={'Skills': ['Java', 'Python', 'C++', 'Document design processes', 'Development', 'Testing', 'Analytics', 'Troubleshooting', 'Rapid development cycles', 'Scripting', 'Test automation', 'Relational databases', 'ORM', 'SQL technologies', 'HTML5', 'CSS3', 'Content management systems', 'Web application development', 'Wicket', 'GWT', 'Spring MVC'], 'Experience': 6, 'Personality Traits': ['Desire to continue professional growth through training and education'], 'Education': ['B.E. Software Engineering', 'BE Software Engineering', 'Bachelors of Engineering Software Engineering', 'B.Tech Software Engineering', 'B.Tech. Software Engineering', 'BTech Software Engineering', 'Bachelor of Technology Software Engineering', 'B.E. Information Technology', 'BE Information Technology', 'Bachelors of Engineering Information Technology', 'B.Tech Information Technology', 'B.Tech. Information Technology', 'BTech Information Technology', 'Bachelor of Technology Information Technology']}
33
 
34
  @app.post("/candidate_recommendation/", response_model=ResumeResponse)
35
  def get_best_resumes(request: JobDescriptionRequest):
36
  job_description = request.job_description
37
- # job_details = extract_job_details(job_description)
38
  start_time=datetime.now()
39
  df = calculate_final_score(resumes_data(), job_details)
40
  end_time=datetime.now()
 
29
  class ResumeResponse(BaseModel):
30
  top_resumes: List[str]
31
 
32
+ # job_details={'Skills': ['Java', 'Python', 'C++', 'Document design processes', 'Development', 'Testing', 'Analytics', 'Troubleshooting', 'Rapid development cycles', 'Scripting', 'Test automation', 'Relational databases', 'ORM', 'SQL technologies', 'HTML5', 'CSS3', 'Content management systems', 'Web application development', 'Wicket', 'GWT', 'Spring MVC'], 'Experience': 6, 'Personality Traits': ['Desire to continue professional growth through training and education'], 'Education': ['B.E. Software Engineering', 'BE Software Engineering', 'Bachelors of Engineering Software Engineering', 'B.Tech Software Engineering', 'B.Tech. Software Engineering', 'BTech Software Engineering', 'Bachelor of Technology Software Engineering', 'B.E. Information Technology', 'BE Information Technology', 'Bachelors of Engineering Information Technology', 'B.Tech Information Technology', 'B.Tech. Information Technology', 'BTech Information Technology', 'Bachelor of Technology Information Technology']}
33
 
34
  @app.post("/candidate_recommendation/", response_model=ResumeResponse)
35
  def get_best_resumes(request: JobDescriptionRequest):
36
  job_description = request.job_description
37
+ job_details = extract_job_details(job_description)
38
  start_time=datetime.now()
39
  df = calculate_final_score(resumes_data(), job_details)
40
  end_time=datetime.now()