Spaces:
Sleeping
Sleeping
changes
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ def UploadProfile(file: bytes = File(...), FileName: str = "sample.pdf"):
|
|
109 |
|
110 |
@app.get("/GetMatchProfileByJobId/")
|
111 |
def GetMatchProfileByJobId(JobId : int):
|
112 |
-
data = SkillMatch.SkillMatcher(model,db_params,JobId)
|
113 |
dataJson = {'Data':['Best Resume Fit', 'Score', 'ProfileID'], 'Values':[data[0], data[1], data[2]]}
|
114 |
df = pd.DataFrame(dataJson)
|
115 |
return parse_csv(df)
|
|
|
109 |
|
110 |
@app.get("/GetMatchProfileByJobId/")
|
111 |
def GetMatchProfileByJobId(JobId : int):
|
112 |
+
data = SkillMatch.SkillMatcher(model,db_params,JobId).split(';')
|
113 |
dataJson = {'Data':['Best Resume Fit', 'Score', 'ProfileID'], 'Values':[data[0], data[1], data[2]]}
|
114 |
df = pd.DataFrame(dataJson)
|
115 |
return parse_csv(df)
|