Vaibhav84 commited on
Commit
d474c84
·
1 Parent(s): b6d0d6c
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -93,9 +93,9 @@ def uploadJobDescription(file: bytes = File(...), FileName: str = "sample.pdf")
93
  returnID = UploadOpenFile.uploadFile(text,FileName,db_params)
94
  returnSkills = SkillExtractorDetails.SkillExtract(db_params,skill_extractor,returnID)
95
  details = returnSkills.split('@')
96
- responseData = 'Required Skills : ' + details[0] + '\n'
97
- responseData = 'Soft Skills : ' + details[1] + '\n'
98
- responseData = 'Good to have Skills : ' + details[2] + '\n'
99
  return {"SkillDetails": responseData}
100
  @app.get("/ProfileMatch")
101
  def ProfileMatchResults():
 
93
  returnID = UploadOpenFile.uploadFile(text,FileName,db_params)
94
  returnSkills = SkillExtractorDetails.SkillExtract(db_params,skill_extractor,returnID)
95
  details = returnSkills.split('@')
96
+ responseData = 'Required Skills : ' + details[0] +'<br><br>'
97
+ responseData = responseData + 'Soft Skills : ' + details[1] +'<br><br>'
98
+ responseData = responseData + 'Good to have Skills : ' + details[2]
99
  return {"SkillDetails": responseData}
100
  @app.get("/ProfileMatch")
101
  def ProfileMatchResults():