Vaibhav84 commited on
Commit
91ea20b
·
1 Parent(s): 441368b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ def uploadJobDescription(file: bytes = File(...), FileName: str = "sample.pdf")
99
  responseData = responseData + 'Soft Skills : ' + details[1]
100
 
101
  responseData = responseData + 'Good to have Skills : ' + details[2]
102
- return {JSONResponse(content={"Required Skills":details[0] , "Soft Skills":details[1] , "Good to have Skills" : details[1]})}
103
  @app.get("/AllProfileMatchResults")
104
  def ProfileMatchResults():
105
  dbQuery = "select * from profilematch"
 
99
  responseData = responseData + 'Soft Skills : ' + details[1]
100
 
101
  responseData = responseData + 'Good to have Skills : ' + details[2]
102
+ return {JSONResponse(jsonable_encoder(content={"Required Skills":details[0] , "Soft Skills":details[1] , "Good to have Skills" : details[2]}))}
103
  @app.get("/AllProfileMatchResults")
104
  def ProfileMatchResults():
105
  dbQuery = "select * from profilematch"