Vaibhav84 commited on
Commit
11e22b7
·
1 Parent(s): cad2718
Files changed (1) hide show
  1. app.py +1 -1
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 = await SkillExtractorDetailsV1.GetSkillData(skill_extractor,text)
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}"