cahnges
Browse files
app.py
CHANGED
@@ -99,7 +99,9 @@ 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 |
-
|
|
|
|
|
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 |
+
data = {'Data':['Required', 'Soft', 'Good'], 'Values':[details[0], details[1], details[2]]}
|
103 |
+
df = pd.DataFrame(data)
|
104 |
+
return parse_csv(df)
|
105 |
@app.get("/AllProfileMatchResults")
|
106 |
def ProfileMatchResults():
|
107 |
dbQuery = "select * from profilematch"
|