Spaces:
Sleeping
Sleeping
cahnges
Browse files
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[
|
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"
|