chane
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def parse_csv(df):
|
|
53 |
async def UploadJobDescription(file: bytes = File(...), FileName: str = "sample.pdf"):
|
54 |
try:
|
55 |
text= ExtractContentFromFile.ExtractDataFromFile(FileName,file)
|
56 |
-
returnSkills =
|
57 |
return parse_csv(returnSkills)
|
58 |
except Exception as e:
|
59 |
return "An error occurred: {e}"
|
|
|
53 |
async def UploadJobDescription(file: bytes = File(...), FileName: str = "sample.pdf"):
|
54 |
try:
|
55 |
text= ExtractContentFromFile.ExtractDataFromFile(FileName,file)
|
56 |
+
returnSkills = SkillExtractorDetailsV1.GetSkillData(skill_extractor,text)
|
57 |
return parse_csv(returnSkills)
|
58 |
except Exception as e:
|
59 |
return "An error occurred: {e}"
|